This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch v-1.26.0
in repository efl.
View the commit online.
commit 7696136b98ce99f75451b9c7e9da77dd9f3ed0c5
Author: Carsten Haitzler <[email protected]>
AuthorDate: Sat Mar 26 23:03:14 2022 +0000
evas - smart obj - set smart data to null after del func to avoid bugs
so smart data get cleanly returns null ... set it to nukll after del
func called as now the smart data shiuld be gone and not usable
anymore. this means we dont return junk smart data if called after this.
@fix
---
src/lib/evas/canvas/evas_object_smart.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/evas/canvas/evas_object_smart.c b/src/lib/evas/canvas/evas_object_smart.c
index a9e654bdcb..104d5caf49 100644
--- a/src/lib/evas/canvas/evas_object_smart.c
+++ b/src/lib/evas/canvas/evas_object_smart.c
@@ -1462,6 +1462,7 @@ evas_object_smart_del(Evas_Object *eo_obj)
free(sobj->interface_privates);
sobj->interface_privates = NULL;
+ sobj->data = ""
if (s) evas_object_smart_unuse(s);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.