Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
unit: Use sim_app_record_free to avoid memleaks
  • Loading branch information
denkenz authored and monich committed Feb 5, 2020
1 parent 6338889 commit f597119
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ofono/unit/test-simutil.c
Expand Up @@ -500,6 +500,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);
g_slist_free_full(entries, (GDestroyNotify) sim_app_record_free);
}
Expand Down

0 comments on commit f597119

Please sign in to comment.