Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_engines.c Log Message: - make sure the engines cleanup the Ewl_Engine_Info struct - shift the freeing of the engine name to the engine where it's set =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_engines.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -3 -r1.32 -r1.33 --- ewl_engines.c 22 Dec 2006 18:23:37 -0000 1.32 +++ ewl_engines.c 22 Dec 2006 18:41:59 -0000 1.33 @@ -1483,6 +1483,9 @@ static void ewl_engine_free(Ewl_Engine *engine) { + DENTER_FUNCTION(DLEVEL_STABLE); + DCHECK_PARAM_PTR("engine", engine); + if (engine->functions->shutdown) engine->functions->shutdown(engine); @@ -1493,7 +1496,8 @@ dlclose(engine->handle); engine->handle = NULL; - IF_FREE(engine->name); FREE(engine); + + DLEAVE_FUNCTION(DLEVEL_STABLE); } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs