harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From regi...@apache.org
Subject svn commit: r881103 - /harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
Date Tue, 17 Nov 2009 02:29:53 GMT
Author: regisxu
Date: Tue Nov 17 02:29:52 2009
New Revision: 881103

URL: http://svn.apache.org/viewvc?rev=881103&view=rev
Log:
fix invalid free operation

Modified:
    harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c

Modified: harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c?rev=881103&r1=881102&r2=881103&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
Tue Nov 17 02:29:52 2009
@@ -302,7 +302,6 @@
 		*pos++ = 0;
 		options = (char *)hymem_allocate_memory(sizeof(char) * (strlen(pos)+1));
 		strcpy(options, pos);
-		hymem_free_memory(pos);
 	}
 	jar_name =agent_cpy;
 



Mime
View raw message