forked from enlightenment/efl
Unlock should be run *after* EINA_MAGIC_FAIL otherwise wrong info about the error will be printed, because unlock may modify d.
SVN revision: 56209
This commit is contained in:
parent
ea869cf57e
commit
c0a800288d
|
@ -111,8 +111,8 @@ static const char EINA_MAGIC_SHARE_HEAD_STR[] = "Eina Share Head";
|
|||
do { \
|
||||
if (!EINA_MAGIC_CHECK((d), _node_magic)) \
|
||||
{ \
|
||||
unlock; \
|
||||
EINA_MAGIC_FAIL((d), _node_magic); \
|
||||
unlock; \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
|
Loading…
Reference in New Issue