mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-03 03:07:11 +00:00
[host] downsample: fix resource leak on failure
This commit is contained in:
parent
7bcad37568
commit
cd6485f2ed
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue