As we use eina_error, we should init/shutdown it properly.

SVN revision: 35297
This commit is contained in:
Cedric BAIL 2008-08-01 14:23:54 +00:00
parent a7cb2d3d9d
commit 2098318e35
1 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,7 @@ eina_stringshare_init()
share = calloc(1, sizeof(Eina_Stringshare));
if (!share)
return 0;
eina_error_init();
}
eina_stringshare_init_count++;
@ -198,6 +199,8 @@ eina_stringshare_shutdown()
}
free(share);
share = NULL;
eina_error_shutdown();
}
}