e_object: set pointer to NULL after cleanup func.

feature/wayland/multi-output
Al Poole 5 years ago
parent d70733bbdc
commit eee5853dac
  1. 1
      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

Loading…
Cancel
Save