We should not delete the wref if object is already freed. It's because
of the damn new wref API.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@70438
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
eobj_unref(obj);
fail_if(wref);
- eobj_do(obj, eobj_wref_del(&wref));
-
obj = eobj_add(SIMPLE_CLASS, NULL);
eobj_do(obj, eobj_wref_add(&wref));
eobj_unref(obj);
fail_if(wref);
- eobj_do(obj, eobj_wref_del(&wref));
-
obj = eobj_add(SIMPLE_CLASS, NULL);
eobj_do(obj, eobj_wref_add(&wref));
Eobj *wref = NULL;
eobj_do((Eobj *) buf, eobj_wref_add(&wref));
fail_if(wref);
- eobj_do(obj, eobj_wref_del(&wref));
eobj_del((Eobj *) buf);