projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix memleak reported by Martin Kluge (see: "[ 599677 ] Very small memory leak in...
[claws.git]
/
src
/
matcher.c
diff --git
a/src/matcher.c
b/src/matcher.c
index a4f2ac7195f1866e432d253ea63b2bd632a2e7f1..3ee7d22aaab6911c785c8d49e0998363545e93eb 100644
(file)
--- 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);
}