[host] downsample: fix resource leak on failure

This commit is contained in:
Geoffrey McRae 2023-11-12 05:59:47 +11:00
parent 7bcad37568
commit cd6485f2ed

View File

@ -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;
}