diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-04-06 20:42:00 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-04-06 21:02:16 +0200 |
commit | 9e8e0d38c9826b10bd56289ffc92d84bc22ba5f8 (patch) | |
tree | ed4645001089a80000f4269a96c818f6bec96d91 /filter.c | |
parent | b0f5662c5f64eeac730be9e37fb306b8db230a8e (diff) | |
download | mblaze-9e8e0d38c9826b10bd56289ffc92d84bc22ba5f8.tar.gz mblaze-9e8e0d38c9826b10bd56289ffc92d84bc22ba5f8.tar.xz mblaze-9e8e0d38c9826b10bd56289ffc92d84bc22ba5f8.zip |
filter: free buffer on failure
Diffstat (limited to 'filter.c')
-rw-r--r-- | filter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/filter.c b/filter.c index d15e54e..9784573 100644 --- a/filter.c +++ b/filter.c @@ -100,6 +100,7 @@ filter(char *input, size_t inlen, char *cmd, char **outputo, size_t *outleno) fail: *outputo = 0; *outleno = 0; + free(output); return -1; } |