<i18n dev> RFR: JDK-8025712, , (props) Possible memory leak in java_props_md.c / ParseLocale

Naoto Sato naoto.sato at oracle.com
Wed Oct 9 12:49:51 PDT 2013

Looks good to me.


On 10/9/13 11:51 AM, Dan Xu wrote:
> Hi All,
> This fix is to solve the memory leak issue in ParseLocale() function of
> jdk/src/solaris/native/java/lang/java_props_md.c. Because the locale,
> lc, is copied into temp, it is not necessary to do the strdup(), which
> leads to the memery leak. The fix simply removes the line of strdup
> operation. Thanks!
> Webrev: http://cr.openjdk.java.net/~dxu/8025712/webrev/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8025712
> -Dan

More information about the i18n-dev mailing list