diff --git a/host/src/downsample_parser.c b/host/src/downsample_parser.c index f649bcbe..a02244a5 100644 --- a/host/src/downsample_parser.c +++ b/host/src/downsample_parser.c @@ -62,6 +62,7 @@ bool downsampleParser(struct Option * opt, const char * str) &rule.targetY) != 4) { DEBUG_INFO("Unable to parse downsample rules"); + free(tmp); return false; }