From 8d950eac9e29819c3e2e334d258cfa3824e8f376 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 29 Aug 2014 14:19:20 +0200 Subject: msgfile: Fix memleak in the test and release the list --- tests/msgfile/msgfile_test.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.3