From d07b14f65ef68368d6434f7d0d33892863db84c7 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Sun, 6 Nov 2005 01:49:43 +0000 Subject: fixed memory leak in pa_mac_core.c and the bug sending "bang" to "t s" object svn path=/trunk/; revision=3842 --- pd/src/makefile | 2 +- pd/src/x_connective.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'pd/src') diff --git a/pd/src/makefile b/pd/src/makefile index 433bbb6c..2ad50698 100644 --- a/pd/src/makefile +++ b/pd/src/makefile @@ -19,7 +19,7 @@ GLIB = -ltk8.4 -ltcl8.4 LDFLAGS = -Wl,-export-dynamic -lasound LIB = -ldl -lpthread -lasound -OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer +OPT_CFLAGS = -g WARN_CFLAGS = -Wall -W -Wstrict-prototypes \ -Wno-unused -Wno-parentheses -Wno-switch ARCH_CFLAGS = -DPD diff --git a/pd/src/x_connective.c b/pd/src/x_connective.c index 3d62b319..c50e27c8 100644 --- a/pd/src/x_connective.c +++ b/pd/src/x_connective.c @@ -978,7 +978,8 @@ static void trigger_list(t_trigger *x, t_symbol *s, int argc, t_atom *argv) else if (u->u_type == TR_BANG) outlet_bang(u->u_outlet); else if (u->u_type == TR_SYMBOL) - outlet_symbol(u->u_outlet, (argc ? atom_getsymbol(argv) : 0)); + outlet_symbol(u->u_outlet, + (argc ? atom_getsymbol(argv) : &s_symbol)); else if (u->u_type == TR_POINTER) { if (!argc || argv->a_type != TR_POINTER) -- cgit v1.2.1