mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-25 16:56:35 +00:00
drmtest: don't leak memory when parsing the arguments
Found this while investigating memory leaks on kms_flip. Detected by Valgrind. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
parent
bb40494671
commit
329faeccf7
@ -911,6 +911,8 @@ int igt_subtest_init_parse_opts(int argc, char **argv,
|
||||
oom_adjust_for_doom();
|
||||
|
||||
out:
|
||||
free(short_opts);
|
||||
free(combined_opts);
|
||||
print_version();
|
||||
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user