aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Poole <netstar@gmail.com>2018-03-02 11:40:53 +0000
committerAl Poole <netstar@gmail.com>2018-03-02 11:40:53 +0000
commiteee5853dac52b9d4eaecb38b7d00ebea707c63cb (patch)
tree651ef5afba2f6154b666c963aa65c765fa5cf822
parentByte order macro. Be consistent and get rid of clang warnings. (diff)
downloadenlightenment-eee5853dac52b9d4eaecb38b7d00ebea707c63cb.tar.gz
e_object: set pointer to NULL after cleanup func.
-rw-r--r--src/bin/e_object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_object.c b/src/bin/e_object.c
index 3af9dcebb..55bbfa659 100644
--- a/src/bin/e_object.c
+++ b/src/bin/e_object.c
@@ -117,6 +117,7 @@ e_object_free(E_Object *obj)
obj->magic = E_OBJECT_MAGIC_FREED;
#endif
obj->cleanup_func(obj);
+ obj = NULL;
}
E_API int