This one passes muster as well.
authorDavid Walter Seikel <onefang@gmail.com>
Sun, 24 Sep 2006 21:38:00 +0000 (21:38 +0000)
committerDavid Walter Seikel <onefang@gmail.com>
Sun, 24 Sep 2006 21:38:00 +0000 (21:38 +0000)
SVN revision: 26120

legacy/ecore/src/lib/ecore_desktop/ecore_desktop_xmlame.c

index e89f9be..6adcaf0 100644 (file)
@@ -86,7 +86,7 @@ _ecore_desktop_xmlame_parse(Ecore_Desktop_Tree * tree, char *buffer)
 
             t = *buffer;
             *buffer = '\0';
-            ecore_desktop_tree_extend(tree, strdup(text));
+            ecore_desktop_tree_extend(tree, text);
             *buffer = t;
          }
        if (*buffer != '\0')