<AWT Dev> Review request for 8146317: Memory leak in wcstombsdmp

prasanta sadhukhan prasanta.sadhukhan at oracle.com
Thu Jan 7 05:37:44 UTC 2016


Looks good to me.

Regards
Prasanta
On 1/6/2016 6:36 PM, Ambarish Rapte wrote:
>
> Hi ,
>
>                 Please review the fix for JDK9,
>
>                 Bug: https://bugs.openjdk.java.net/browse/JDK-8146317
>
> Webrev: http://cr.openjdk.java.net/~arapte/8146317/webrev.00/ 
> <http://cr.openjdk.java.net/%7Earapte/8146317/webrev.00/>
>
> Issue:    Possible memory leak with an error case in function 
> wcstombsdmp().
>
> Cause:  In error case,
>
> Function wcstombsdmp() returns NULL, without freeing memory allocated 
> using malloc.
>
> Fix:         Call   free() before returning NULL.
>
> Thanks,
>
> Ambarish
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20160107/b56bf201/attachment.html>


More information about the awt-dev mailing list