Enlightenment CVS committal Author : devilhorns Project : e_modules Module : rain
Dir : e_modules/rain 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/rain/e_mod_config.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- e_mod_config.c 3 Jul 2006 07:37:32 -0000 1.20 +++ e_mod_config.c 10 Jul 2006 17:57:44 -0000 1.21 @@ -83,6 +83,7 @@ rn = cfd->data; rn->config_dialog = NULL; free(cfdata); + cfdata = NULL; } static Evas_Object * =================================================================== RCS file: /cvs/e/e_modules/rain/e_mod_main.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- e_mod_main.c 2 Jul 2006 19:06:10 -0000 1.23 +++ e_mod_main.c 10 Jul 2006 17:57:44 -0000 1.24 @@ -183,6 +183,7 @@ evas_object_del(drop->drop); rain->drops = evas_list_remove_list(rain->drops, rain->drops); free(drop); + drop = NULL; } } @@ -204,6 +205,7 @@ if (rain->animator) ecore_animator_del(rain->animator); free(rain); + rain = NULL; } static E_Menu * ------------------------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs