[PD-dev] [ pure-data-Patches-1368484 ] [poly] memory leak

SourceForge.net noreply at sourceforge.net
Thu Jan 5 13:09:55 CET 2006


Patches item #1368484, was opened at 2005-11-28 19:35
Message generated for change (Settings changed) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1368484&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Mathieu Bouchard (matju)
Assigned to: Nobody/Anonymous (nobody)
Summary: [poly] memory leak

Initial Comment:
fixed [poly] memory leak 
removed unused vars 

----------------------------------------------------------------------

Comment By: Miller Puckette (millerpuckette)
Date: 2005-12-31 20:50

Message:
Logged In: YES 
user_id=313747

Took for 0.40

----------------------------------------------------------------------

Comment By: Thomas Grill (xovo)
Date: 2005-11-30 14:46

Message:
Logged In: YES 
user_id=350252

here's the missing patch:

Index: x_midi.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_midi.c,v
retrieving revision 1.2.8.3
diff -u -r1.2.8.3 x_midi.c
--- x_midi.c	30 Nov 2005 13:36:58 -0000	1.2.8.3
+++ x_midi.c	30 Nov 2005 13:44:24 -0000
@@ -1187,7 +1187,7 @@
 static void poly_setup(void)
 {
     poly_class = class_new(gensym("poly"), 
-        (t_newmethod)poly_new, (t_method)poly_clear,
+        (t_newmethod)poly_new, (t_method)poly_free,
         sizeof(t_poly), 0, A_DEFFLOAT, A_DEFFLOAT, 0);
     class_addfloat(poly_class, poly_float);
     class_addmethod(poly_class, (t_method)poly_stop,
gensym("stop"), 0);


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1368484&group_id=55736




More information about the Pd-dev mailing list