forked from enlightenment/enlightenment
e_object: set pointer to NULL after cleanup func.
This commit is contained in:
parent
d70733bbdc
commit
eee5853dac
|
@ -117,6 +117,7 @@ e_object_free(E_Object *obj)
|
||||||
obj->magic = E_OBJECT_MAGIC_FREED;
|
obj->magic = E_OBJECT_MAGIC_FREED;
|
||||||
#endif
|
#endif
|
||||||
obj->cleanup_func(obj);
|
obj->cleanup_func(obj);
|
||||||
|
obj = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
E_API int
|
E_API int
|
||||||
|
|
Loading…
Reference in New Issue