unset eina magic on free

SVN revision: 46026
This commit is contained in:
Sebastian Dransfeld 2010-02-09 21:06:06 +00:00
parent dca87fdf87
commit 459fef8aea
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ EAPI void
eina_strbuf_free(Eina_Strbuf *buf)
{
EINA_MAGIC_CHECK_STRBUF(buf);
EINA_MAGIC_SET(buf, EINA_MAGIC_NONE);
free(buf->buf);
free(buf);
}