Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : net
Dir : e_modules/net/src
Modified Files:
e_mod_configure.c e_mod_main.c
Log Message:
Free the newly added app string so we don't leak mem.
===================================================================
RCS file: /cvs/e/e_modules/net/src/e_mod_configure.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_mod_configure.c 14 Feb 2007 08:23:45 -0000 1.5
+++ e_mod_configure.c 14 Feb 2007 09:29:38 -0000 1.6
@@ -61,6 +61,7 @@
{
if (cfdata->devs) ecore_list_destroy(cfdata->devs);
E_FREE(cfdata->device);
+ E_FREE(cfdata->app);
E_FREE(cfdata);
if (!cfg) return;
cfg->cfd = NULL;
===================================================================
RCS file: /cvs/e/e_modules/net/src/e_mod_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- e_mod_main.c 12 Feb 2007 21:23:07 -0000 1.3
+++ e_mod_main.c 14 Feb 2007 09:29:38 -0000 1.4
@@ -57,6 +57,7 @@
ci = cfg->items->data;
if (ci->id) evas_stringshare_del(ci->id);
if (ci->device) evas_stringshare_del(ci->device);
+ if (ci->app) evas_stringshare_del(ci->app);
cfg->items = evas_list_remove_list(cfg->items, cfg->items);
E_FREE(ci);
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs