[PD-dev] [ pure-data-Patches-1368484 ] [poly] memory leak
SourceForge.net
noreply at sourceforge.net
Wed Nov 30 14:46:06 CET 2005
Patches item #1368484, was opened at 2005-11-28 18:35
Message generated for change (Comment added) made by xovo
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: Open
Resolution: None
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: Thomas Grill (xovo)
Date: 2005-11-30 13: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