Enlightenment CVS committal
Author : andreas99
Project : e16
Module : tools
Dir : e16/tools/e16menuedit2/src
Modified Files:
e16menu.c
Log Message:
memory
===================================================================
RCS file: /cvsroot/enlightenment/e16/tools/e16menuedit2/src/e16menu.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- e16menu.c 16 Jan 2005 10:32:25 -0000 1.12
+++ e16menu.c 16 Jan 2005 10:39:50 -0000 1.13
@@ -247,7 +247,7 @@
}
else
{
- realfile = params;
+ realfile = g_strdup (params);
}
menu_file[depth] = g_strdup (realfile);
@@ -340,11 +340,11 @@
/* end of filelist to free it later */
menu_file[depth+1] = NULL;
- g_free(tree_path_str);
-
- g_free(description);
- g_free(icon);
- g_free(params);
+ g_free (tree_path_str);
+ g_free (realfile);
+ g_free (description);
+ g_free (icon);
+ g_free (params);
return FALSE;
}
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs