Enlightenment CVS committal

Author  : sebastid
Project : e_modules
Module  : monitor

Dir     : e_modules/monitor


Modified Files:
        e_mod_config.c 


Log Message:
Remove strdup

===================================================================
RCS file: /cvsroot/enlightenment/e_modules/monitor/e_mod_config.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_config.c      28 Dec 2005 16:47:12 -0000      1.4
+++ e_mod_config.c      14 Jan 2006 15:55:42 -0000      1.5
@@ -209,7 +209,7 @@
        ecore_list_goto_first(wlan_interfaces);
        while ((tmp = ecore_list_next(wlan_interfaces)) != NULL) 
          {
-            ob = e_widget_radio_add(evas, strdup(tmp), i, rg);
+            ob = e_widget_radio_add(evas, tmp, i, rg);
             e_widget_table_object_append(ot, ob, 0, i, 1, 1, 1, 0, 1, 0);
             i = i + 1;
          }
@@ -232,7 +232,7 @@
        ecore_list_goto_first(net_interfaces);
        while ((tmp = ecore_list_next(net_interfaces)) != NULL) 
          {
-            ob = e_widget_radio_add(evas, strdup(tmp), i, rg);
+            ob = e_widget_radio_add(evas, tmp, i, rg);
             e_widget_table_object_append(ot, ob, 0, i, 1, 1, 1, 0, 1, 0);
             i = i + 1;
          }




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to