about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-10-26 20:50:51 +0000
committerJames Booth <boothj5@gmail.com>2015-10-26 20:50:51 +0000
commit2f68063acab73bffd6d9a127fd5d9371e16d89be (patch)
tree077dfc8290e8f75e063d452fbb44cd148ad171b2 /tests
parentab9bdffab6bf294be218f60d7a2b3db99d56ca9b (diff)
parent9b5cdf8ebd94702995ea023d5614fe6efcc7abca (diff)
downloadprofani-tty-2f68063acab73bffd6d9a127fd5d9371e16d89be.tar.gz
Merge remote-tracking branch 'jubalh/resleak'
Diffstat (limited to 'tests')
-rw-r--r--tests/unittests/helpers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittests/helpers.c b/tests/unittests/helpers.c
index 564b2716..9cabb1e4 100644
--- a/tests/unittests/helpers.c
+++ b/tests/unittests/helpers.c
@@ -63,6 +63,7 @@ void load_preferences(void **state)
     if (f) {
         prefs_load();
     }
+    fclose(f);
 }
 
 void close_preferences(void **state)