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