[PATCH FOR REVIEW] OPENJDK6-3: Fix small memory leak in get_stack_bounds

Andrew Haley aph at redhat.com
Thu Mar 21 04:52:34 PDT 2013


On 03/20/2013 10:45 PM, Andrew Hughes wrote:
> A small memory leak was found in get_stack_bounds when getline returned with an error code,
> but it was fixed in OpenJDK 7 & 8 in a way that introduced worse issues:
> 
> http://mail.openjdk.java.net/pipermail/hotspot-dev/2013-February/008695.html
> 
> This webrev adds a simpler fix, just adding the necessary free call:
> 
> http://cr.openjdk.java.net/~andrew/jdk6/03/webrev.01/
> 
> I filed a bug for this here: http://java.net/jira/browse/OPENJDK6-3
> 
> Ok for OpenJDK 6?

Yes, thanks.  I don't know why I missed this one.

Andrew.




More information about the jdk6-dev mailing list