projects
/
platform
/
upstream
/
cryptsetup.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some memory leaks (thanks to okozina).
[platform/upstream/cryptsetup.git]
/
tests
/
api-test.c
diff --git
a/tests/api-test.c
b/tests/api-test.c
index
5d7dd22
..
81e36a9
100644
(file)
--- a/
tests/api-test.c
+++ b/
tests/api-test.c
@@
-355,6
+355,12
@@
static void _cleanup(void)
remove(BACKUP_FILE);
_remove_keyfiles();
+
+ free(tmp_file_1);
+ free(test_loop_file);
+ free(THE_LOOP_DEV);
+ free(DEVICE_1);
+ free(DEVICE_2);
}
static int _setup(void)