RFR: 8284956: Potential leak awtImageData/color_data when initializes X11GraphicsEnvironment [v2]

Zhengyu Gu zgu at openjdk.java.net
Thu Apr 28 18:25:59 UTC 2022


On Thu, 28 Apr 2022 13:14:07 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:

>> Zhengyu Gu has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Aleksey and Andrew's comments
>
> I see `calloc` calls also for `img_grays` and `awt_Colors`. Is there a reason these aren't freed too?

@gnu-andrew @shipilev Nice catch, fixed.

Thanks

-------------

PR: https://git.openjdk.java.net/jdk/pull/8317



More information about the client-libs-dev mailing list