mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
t-runner: Fix mem leak caused by unclosed dir
This commit is contained in:
parent
7dd32ac093
commit
269bf497c7
@ -2413,6 +2413,8 @@ next:
|
|||||||
l_free(unit_test_abs_path);
|
l_free(unit_test_abs_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
closedir(d);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
l_strfreev(unit_tests);
|
l_strfreev(unit_tests);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user