summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-29 14:19:20 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-29 14:21:14 +0200
commit8d950eac9e29819c3e2e334d258cfa3824e8f376 (patch)
treec90729ebb664df2fbdb7f48d483392a047cef05d
parentfb84f325b8e672ba7ca1a961f4ef01f4d011e33d (diff)
msgfile: Fix memleak in the test and release the list
-rw-r--r--tests/msgfile/msgfile_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/msgfile/msgfile_test.c b/tests/msgfile/msgfile_test.c
index ed7aa978..a9196947 100644
--- a/tests/msgfile/msgfile_test.c
+++ b/tests/msgfile/msgfile_test.c
@@ -45,6 +45,7 @@ int main(int argc, char **argv)
/* todo use msgfile_test.c.in and replace the path */
entries = osmo_config_list_parse(NULL, "msgconfig.cfg");
dump_entries(entries);
+ talloc_free(entries);
return 0;
}