Free the newly added app string so we don't leak mem.
SVN revision: 28357
This commit is contained in:
parent
9c4d51e53a
commit
205f272dfb
|
@ -61,6 +61,7 @@ _free_data(E_Config_Dialog *cfd, E_Config_Dialog_Data *cfdata)
|
|||
{
|
||||
if (cfdata->devs) ecore_list_destroy(cfdata->devs);
|
||||
E_FREE(cfdata->device);
|
||||
E_FREE(cfdata->app);
|
||||
E_FREE(cfdata);
|
||||
if (!cfg) return;
|
||||
cfg->cfd = NULL;
|
||||
|
|
|
@ -57,6 +57,7 @@ e_modapi_shutdown(E_Module *m)
|
|||
ci = cfg->items->data;
|
||||
if (ci->id) evas_stringshare_del(ci->id);
|
||||
if (ci->device) evas_stringshare_del(ci->device);
|
||||
if (ci->app) evas_stringshare_del(ci->app);
|
||||
cfg->items = evas_list_remove_list(cfg->items, cfg->items);
|
||||
E_FREE(ci);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue