plug another memleak reported by Martin Kluge
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 18 Aug 2002 13:50:33 +0000 (13:50 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Sun, 18 Aug 2002 13:50:33 +0000 (13:50 +0000)
ChangeLog.claws
configure.in
src/matcher.c

index 415af17..32619dc 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-18 [alfons]    0.8.1claws75
+
+       * src/matcher.c
+               plug another memleak reported by Martin Kluge
+
 2002-08-18 [paul]      0.8.1claws74
 
        * po/pt_BR.po
index c1adf15..34eddf2 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=8
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws74
+EXTRA_VERSION=claws75
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 3b3c206..f68eb5b 100644 (file)
@@ -1077,6 +1077,7 @@ gchar * matching_build_command(gchar * cmd, MsgInfo * info)
                        case 'F': /* file */
                                strcpy(p, filename);
                                p += strlen(p);
+                               g_free(filename);
                                break;
                        default:
                                *p = '%';