[Gridflow-cvs] [svn] commit: r3665 - /trunk/gridflow.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Apr 25 23:07:07 EDT 2008


Author: matju
Date: Fri Apr 25 23:07:07 2008
New Revision: 3665

Log:
fix leak in deleting any object

Modified:
    trunk/gridflow.c

Modified: trunk/gridflow.c
==============================================================================
--- trunk/gridflow.c (original)
+++ trunk/gridflow.c Fri Apr 25 23:07:07 2008
@@ -594,6 +594,8 @@
 
 static void BFObject_delete (BFObject *bself) {
 	try {delete bself->self;} catch (Barf *oozy) {pd_error(bself,"%s",oozy->text);}
+	delete[] bself->inlets;
+	delete[] bself->outlets;
 }
 
 //****************************************************************



More information about the Gridflow-cvs mailing list