Eo: Added a check if object is already deleted in eo_unref.
authortasn <tasn>
Sun, 10 Jun 2012 07:53:43 +0000 (07:53 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 10 Jun 2012 07:53:43 +0000 (07:53 +0000)
commit2e0bf3b0f6debd8268711aea0d380ee07cf6a316
tree6087956f5e0e64e8ff446960f3aee230dde24bdb
parent126684bb0c176a1fe00ddfde3f871f2127f6a79e
Eo: Added a check if object is already deleted in eo_unref.

If an object is manually freed it was possible to ref/unref it so it'll
try to call the destructor again.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@71890 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
lib/eo.c
tests/eo_test_general.c