fix small leak in illume2 policy config

SVN revision: 83149
This commit is contained in:
Mike Blumenkrantz 2013-01-23 10:27:33 +00:00
parent 3a24add030
commit 3456c9dff2
3 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@
* fixed small leak in efm when performing dnd onto mounted drive icon
* fixed small leak in e_import_config_dialog_show during failure case
* fixed small leak in e_import_dialog_show during failure case
* fixed small leak in illume2 policy config
2013-01-22 Mike Blumenkrantz

1
NEWS
View File

@ -115,3 +115,4 @@ Fixes:
* fix small leak in efm when performing dnd onto mounted drive icon
* fixed small leak in e_import_config_dialog_show during failure case
* fixed small leak in e_import_dialog_show during failure case
* fixed small leak in illume2 policy config

View File

@ -73,7 +73,7 @@ _e_mod_illume_config_policy_ui(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Co
{
e_widget_ilist_append(ow, NULL, p->api->label,
_e_mod_illume_config_policy_list_changed, NULL,
strdup(p->api->name));
p->api->name);
if ((p) && (_e_illume_cfg->policy.name) &&
(!strcmp(_e_illume_cfg->policy.name, p->api->name)))