mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[host] downsample: fix resource leak on failure
This commit is contained in:
@@ -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