mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 21:43:40 +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