aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-23 10:27:48 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-23 10:27:48 +0000
commitbc5c135613d788518674e26ab05aad19662af556 (patch)
tree451cab4160149c733110bf5098d13ceb29c31648
parent058c768cbbaf2a6e3a5455366bc13aaf7ab54e78 (diff)
downloadenlightenment-bc5c135613d788518674e26ab05aad19662af556.tar.gz
enlightenment-bc5c135613d788518674e26ab05aad19662af556.tar.xz
enlightenment-bc5c135613d788518674e26ab05aad19662af556.zip
backport previous illume2 leak fix
SVN revision: 83150
-rw-r--r--ChangeLog1
-rw-r--r--NEWS1
-rw-r--r--src/modules/illume2/e_mod_config_policy.c2
3 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bdab55971..873900346 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
* 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
2013-01-22 Massimo Maiurana
diff --git a/NEWS b/NEWS
index 94ce2d795..8e318f549 100644
--- a/NEWS
+++ b/NEWS
@@ -41,3 +41,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
diff --git a/src/modules/illume2/e_mod_config_policy.c b/src/modules/illume2/e_mod_config_policy.c
index cb65b131b..eec6131ee 100644
--- a/src/modules/illume2/e_mod_config_policy.c
+++ b/src/modules/illume2/e_mod_config_policy.c
@@ -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)))