Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : flame
Dir : e_modules/flame
Modified Files:
e_mod_config.c e_mod_main.c
Log Message:
Avoid dangling pointers after call to free.
===================================================================
RCS file: /cvs/e/e_modules/flame/e_mod_config.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- e_mod_config.c 3 Jul 2006 07:37:32 -0000 1.24
+++ e_mod_config.c 10 Jul 2006 17:54:03 -0000 1.25
@@ -67,6 +67,7 @@
f = cfd->data;
f->config_dialog = NULL;
free(cfdata);
+ cfdata = NULL;
}
static Evas_Object *
===================================================================
RCS file: /cvs/e/e_modules/flame/e_mod_main.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- e_mod_main.c 3 Jul 2006 07:37:32 -0000 1.24
+++ e_mod_main.c 10 Jul 2006 17:54:03 -0000 1.25
@@ -198,10 +198,12 @@
_flame_shutdown(Flame *f)
{
free(f->conf);
+ f->conf = NULL;
E_CONFIG_DD_FREE(f->conf_edd);
_flame_face_free(f->face);
f->module = NULL;
free(f);
+ f = NULL;
}
static E_Menu *
@@ -323,6 +325,7 @@
if (ff->palette)
free(ff->palette);
free(ff);
+ ff = NULL;
}
static void
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs