[host] downsample: fix resource leak on failure
This commit is contained in:
1 parent
7bcad37568
commit
cd6485f2ed
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user