Enlightenment CVS committal Author : cedric Project : e17 Module : proto/eina
Dir : e17/proto/eina/src/lib Modified Files: eina_stringshare.c Log Message: As we use eina_error, we should init/shutdown it properly. =================================================================== RCS file: /cvs/e/e17/proto/eina/src/lib/eina_stringshare.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- eina_stringshare.c 1 Aug 2008 12:26:35 -0000 1.4 +++ eina_stringshare.c 1 Aug 2008 14:23:54 -0000 1.5 @@ -82,6 +82,7 @@ share = calloc(1, sizeof(Eina_Stringshare)); if (!share) return 0; + eina_error_init(); } eina_stringshare_init_count++; @@ -198,6 +199,8 @@ } free(share); share = NULL; + + eina_error_shutdown(); } } ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs