incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From monte...@apache.org
Subject svn commit: r883805 - /incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c
Date Tue, 24 Nov 2009 18:16:10 GMT
Author: monteith
Date: Tue Nov 24 18:16:09 2009
New Revision: 883805

URL: http://svn.apache.org/viewvc?rev=883805&view=rev
Log:
Fix malloc double free problem in cjvmti agent.

Modified:
    incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c

Modified: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c?rev=883805&r1=883804&r2=883805&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.native/kato.native.cjvmti/src/main/native/cjvmti.c
Tue Nov 24 18:16:09 2009
@@ -250,6 +250,7 @@
 	if (fp!=NULL)fclose(fp);
 	fp = NULL;
 	fclose(variableFile);
+    variableFile = NULL;
 
 	printf("Detag/deallocate\n");
 	while (Q_dequeue(&deTagObj, toDetag)!= 0){



Mime
View raw message