diff options
author | Denis Kenzior <denkenz@gmail.com> | 2018-02-28 11:08:29 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2018-02-28 11:08:29 -0600 |
commit | 497e38f237167f1cede15120024cfb4647ad4d06 (patch) | |
tree | 086fadaf52ee70f5014dcaa14b475dd5cf39ea2f /unit | |
parent | 134b163182bdf0d521e22156baf4cc7ac1c368a0 (diff) | |
download | ofono-497e38f237167f1cede15120024cfb4647ad4d06.tar.gz |
unit: Use sim_app_record_free to avoid memleaks
Diffstat (limited to 'unit')
-rw-r--r-- | unit/test-simutil.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unit/test-simutil.c b/unit/test-simutil.c index 1b27a953..67ff5c2a 100644 --- a/unit/test-simutil.c +++ b/unit/test-simutil.c @@ -471,6 +471,7 @@ static void test_application_entry_decode(void) g_assert(app[1]->label != NULL); g_assert(!strcmp(app[1]->label, "MIDPfiles")); + g_slist_free_full(entries, (GDestroyNotify) sim_app_record_free); g_free(ef_dir); } |