Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : tclock
Dir : e_modules/tclock
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/tclock/e_mod_config.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- e_mod_config.c 3 Jul 2006 07:37:33 -0000 1.23
+++ e_mod_config.c 10 Jul 2006 18:00:01 -0000 1.24
@@ -69,6 +69,7 @@
return;
tclock_config->config_dialog = NULL;
free(cfdata);
+ cfdata = NULL;
}
static Evas_Object *
===================================================================
RCS file: /cvs/e/e_modules/tclock/e_mod_main.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- e_mod_main.c 2 Jul 2006 19:06:16 -0000 1.37
+++ e_mod_main.c 10 Jul 2006 18:00:01 -0000 1.38
@@ -91,6 +91,7 @@
evas_object_del(inst->tclock);
free(inst);
+ inst = NULL;
}
static void
@@ -359,6 +360,7 @@
if (ci->time_format) evas_stringshare_del(ci->time_format);
if (ci->date_format) evas_stringshare_del(ci->date_format);
free(ci);
+ ci = NULL;
}
free(tclock_config);
-------------------------------------------------------------------------
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