recent changes added unlocks for these mutexes in some other places, so only
do the unlocks where necessary
fix T7020
Depends on D6356
Differential Revision: https://phab.enlightenment.org/D6357
if (prev_parent) efl_unref(obj);
// unlikely this error happens, so move it out of execution path
// to improve l1 cache efficiency
- goto err_parent;
+ goto err_parent_done;
}
eo_obj->parent = EINA_TRUE;
EO_OBJ_DONE(obj);
return;
+err_parent_done:
+ EO_OBJ_DONE(obj);
err_parent:
ERR("New parent %p for object %p is not a valid Eo object.",
parent_id, obj);
- EO_OBJ_DONE(obj);
return;
err_impossible: