no, you don't need to allocate label strings for list
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 13 Dec 2012 14:35:56 +0000 (14:35 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 13 Dec 2012 14:35:56 +0000 (14:35 +0000)
SVN revision: 80868

src/modules/illume2/e_mod_config_policy.c

index 4a918d3..62400c9 100644 (file)
@@ -71,7 +71,7 @@ _e_mod_illume_config_policy_ui(E_Config_Dialog *cfd __UNUSED__, Evas *evas, E_Co
      {
         EINA_LIST_FREE(policies, p) 
           {
-             e_widget_ilist_append(ow, NULL, strdup(p->api->label)
+             e_widget_ilist_append(ow, NULL, p->api->label
                                    _e_mod_illume_config_policy_list_changed, NULL, 
                                    strdup(p->api->name));