mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +00:00
[host] downsample: fix resource leak on failure
This commit is contained in:
parent
7bcad37568
commit
cd6485f2ed
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user