X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Famxml.c;fp=common-src%2Famxml.c;h=bf7195ac51b885b012e2d54713959cd82036f1f2;hb=011a59f5a54864108a16af570a6b287410597cc2;hp=fedf5cc985d2e87c1f6729cd1938b211cdc43c28;hpb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;p=debian%2Famanda diff --git a/common-src/amxml.c b/common-src/amxml.c index fedf5cc..bf7195a 100644 --- a/common-src/amxml.c +++ b/common-src/amxml.c @@ -86,7 +86,7 @@ free_dle( amfree(dle->device); amfree(dle->program); g_slist_free(dle->estimatelist); - g_slist_free_full(dle->levellist); + slist_free_full(dle->levellist, g_free); amfree(dle->dumpdate); amfree(dle->compprog); amfree(dle->srv_encrypt); @@ -104,8 +104,8 @@ free_dle( scriptlist = scriptlist->next) { free_script_data((script_t *)scriptlist->data); } - g_slist_free_full(dle->scriptlist); - g_slist_free_full(dle->directtcp_list); + slist_free_full(dle->scriptlist, g_free); + slist_free_full(dle->directtcp_list, g_free); amfree(dle); }