summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--filter.c1
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;
 }