mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2026-01-05 23:15:34 +01:00
Fix some warning and leaks in api test code.
This commit is contained in:
@@ -199,8 +199,10 @@ static void _cleanup(void)
|
||||
_system("rm -f " IMAGE_EMPTY, 0);
|
||||
_system("rm -f " IMAGE1, 0);
|
||||
|
||||
remove(test_loop_file);
|
||||
remove(tmp_file_1);
|
||||
if (test_loop_file)
|
||||
remove(test_loop_file);
|
||||
if (tmp_file_1)
|
||||
remove(tmp_file_1);
|
||||
|
||||
remove(EVL_HEADER_1);
|
||||
remove(EVL_HEADER_2);
|
||||
|
||||
Reference in New Issue
Block a user