harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arc...@apache.org
Subject svn commit: r366206 - /incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/resolve2.c
Date Thu, 05 Jan 2006 15:42:55 GMT
Author: archie
Date: Thu Jan  5 07:42:53 2006
New Revision: 366206

URL: http://svn.apache.org/viewcvs?rev=366206&view=rev
Log:
Fix memory leak: we weren't freeing parsed bytecode after bytecode resolution.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/resolve2.c

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/resolve2.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/resolve2.c?rev=366206&r1=366205&r2=366206&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/resolve2.c (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/jchevm/jchevm/libjc/resolve2.c Thu Jan
 5 07:42:53 2006
@@ -1152,6 +1152,9 @@
 		_JC_ASSERT(insn->action != 0);
 	}
 
+	/* Free parsed code */
+	_jc_destroy_code(code);
+
 	/* Done */
 	return JNI_OK;
 



Mime
View raw message