plug another memleak reported by Martin Kluge
[claws.git] / src / matcher.c
index 3b3c206b5d0c9b1821677e10595915f51683cee2..f68eb5b1b1de822a973062ab203971faad16751c 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 = '%';