From: Alfons Hoogervorst Date: Sat, 24 Aug 2002 17:35:48 +0000 (+0000) Subject: fix memleak reported by Martin Kluge (see: "[ 599677 ] Very small memory leak in... X-Git-Tag: rel_0_8_2~13 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=53aac1d25a1bd1725dcd7c1431bb30cc2f07e428 fix memleak reported by Martin Kluge (see: "[ 599677 ] Very small memory leak in 0.81claws115") --- diff --git a/ChangeLog.claws b/ChangeLog.claws index 5c09f84b0..0d2c186b5 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,9 @@ +2002-08-24 [alfons] 0.8.2claws116 + + * src/matcher.c + fix memleak reported by Martin Kluge + (see: "[ 599677 ] Very small memory leak in 0.81claws115") + 2002-08-24 [oliver] 0.8.2claws115 * src/prefs_toolbar.c diff --git a/configure.in b/configure.in index 0d7c65ab9..a622f923e 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ MINOR_VERSION=8 MICRO_VERSION=1 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws115 +EXTRA_VERSION=claws116 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/matcher.c b/src/matcher.c index a4f2ac719..3ee7d22aa 100644 --- a/src/matcher.c +++ b/src/matcher.c @@ -328,6 +328,7 @@ gboolean matcherprop_match_execute(MatcherProp * prop, MsgInfo * info) retval = system(cmd); debug_print("Command exit code: %d\n", retval); + g_free(cmd); return (retval == 0); }