[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/42823] tcp/ip sockets read/write operations causes memory
From: |
gnu_andrew at member dot fsf.org |
Subject: |
[Bug classpath/42823] tcp/ip sockets read/write operations causes memory leak |
Date: |
Thu, 31 Mar 2011 00:33:35 +0000 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42823
Andrew John Hughes <gnu_andrew at member dot fsf.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |gnu_andrew at member dot
| |fsf.org
Resolution| |FIXED
--- Comment #5 from Andrew John Hughes <gnu_andrew at member dot fsf.org>
2011-03-31 00:33:23 UTC ---
I've committed the patch:
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 <address@hidden>
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
I'll try and get a new release out soon.