Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : uptime
Dir : e_modules/uptime
Modified Files:
e_mod_config.c e_mod_main.c uptime.png
Log Message:
Avoid dangling pointers after call to free().
===================================================================
RCS file: /cvs/e/e_modules/uptime/e_mod_config.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_mod_config.c 3 Jul 2006 07:37:33 -0000 1.10
+++ e_mod_config.c 10 Jul 2006 18:01:02 -0000 1.11
@@ -86,6 +86,7 @@
ut_config->config_dialog = NULL;
free(cfdata);
+ cfdata = NULL;
}
static Evas_Object *
===================================================================
RCS file: /cvs/e/e_modules/uptime/e_mod_main.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- e_mod_main.c 2 Jul 2006 19:06:16 -0000 1.16
+++ e_mod_main.c 10 Jul 2006 18:01:02 -0000 1.17
@@ -138,6 +138,7 @@
_ut_free(ut);
free(inst);
+ inst = NULL;
}
static void
@@ -355,6 +356,7 @@
evas_stringshare_del(ci->id);
free(ci);
+ ci = NULL;
}
free(ut_config);
@@ -417,6 +419,7 @@
{
evas_object_del(ut->ut_obj);
free(ut);
+ ut = NULL;
}
static void
===================================================================
RCS file: /cvs/e/e_modules/uptime/uptime.png,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
Binary files /tmp/cvs2NtYWZ and /tmp/cvsM6yYkd differ
-------------------------------------------------------------------------
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