CVSROOT: /sources/classpath
Module name: classpath
Changes by: Andrew John Hughes <gnu_andrew> 11/03/31 00:30:29
Modified files:
. : ChangeLog
native/jni/java-net: java_net_VMInetAddress.c
Log message:
PR classpath/42823: Remove memory leaks in native code of
java.net.VMInetAddress.
2011-03-30 Gert Brettlecker <[email protected]>
PR classpath/42823
* native/jni/java-net/java_net_VMInetAddress.c,
(Java_VMInetAddress_getHostByAddr(JNIEnv*,jclass,jarray)):
Free address structure after use.
(Java_java_net_VMInetAddress_aton(JNIEnv*,jclass,jstring)):
Release UTF string after use.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9824&r2=1.9825
http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/java-net/java_net_VMInetAddress.c?cvsroot=classpath&r1=1.11&r2=1.12