forked from enlightenment/efl
As we use eina_error, we should init/shutdown it properly.
SVN revision: 35297
This commit is contained in:
parent
a7cb2d3d9d
commit
2098318e35
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue