Enlightenment CVS committal Author : devilhorns Project : e_modules Module : weather
Dir : e_modules/weather Modified Files: e_mod_main.c e_mod_config.c Log Message: Avoid dangling pointers after calls to free(). =================================================================== RCS file: /cvs/e/e_modules/weather/e_mod_main.c,v retrieving revision 1.39 retrieving revision 1.40 diff -u -3 -r1.39 -r1.40 --- e_mod_main.c 2 Jul 2006 19:06:16 -0000 1.39 +++ e_mod_main.c 10 Jul 2006 18:02:33 -0000 1.40 @@ -130,6 +130,7 @@ _weather_free(w); free(inst); + inst = NULL; } static void @@ -321,6 +322,7 @@ if (ci->proxy.host) evas_stringshare_del(ci->proxy.host); weather_config->items = evas_list_remove_list(weather_config->items, weather_config->items); free(ci); + ci = NULL; } free(weather_config); @@ -388,6 +390,7 @@ evas_object_del(w->weather_obj); evas_object_del(w->icon_obj); free(w); + w = NULL; } static void =================================================================== RCS file: /cvs/e/e_modules/weather/e_mod_config.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- e_mod_config.c 7 Jul 2006 00:47:38 -0000 1.13 +++ e_mod_config.c 10 Jul 2006 18:02:33 -0000 1.14 @@ -68,6 +68,7 @@ weather_config->config_dialog = NULL; free(cfdata); + cfdata = NULL; } static Evas_Object * ------------------------------------------------------------------------- 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