[rkward-cvs] SF.net SVN: rkward: [911] trunk/rkward/rkward/rbackend/rthread.cpp

tfry at users.sourceforge.net tfry at users.sourceforge.net
Wed Nov 1 16:19:59 UTC 2006


Revision: 911
          http://svn.sourceforge.net/rkward/?rev=911&view=rev
Author:   tfry
Date:     2006-11-01 08:19:55 -0800 (Wed, 01 Nov 2006)

Log Message:
-----------
Fix mismatching deletion (could lead to crashes when updating many objects repeatedly)

Modified Paths:
--------------
    trunk/rkward/rkward/rbackend/rthread.cpp

Modified: trunk/rkward/rkward/rbackend/rthread.cpp
===================================================================
--- trunk/rkward/rkward/rbackend/rthread.cpp	2006-10-31 13:45:36 UTC (rev 910)
+++ trunk/rkward/rkward/rbackend/rthread.cpp	2006-11-01 16:19:55 UTC (rev 911)
@@ -549,7 +549,7 @@
 		MUTEX_UNLOCK;
 		handleSubstackCall (call, call_length);
 		MUTEX_LOCK;
-		delete call;
+		delete [] call;
 		changed_symbol_names.clear ();
 	}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list