This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch v-0.25.0
in repository enlightenment.

View the commit online.

commit d2e8f98a191c8b28c3f843d193e535d844ee1213
Author: Carsten Haitzler <[email protected]>
AuthorDate: Mon Apr 4 15:02:38 2022 +0100

    pointer - null out deleted strings
    
    avoids them being accessed incorrectly later
    @fix
---
 src/bin/e_pointer.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_pointer.c b/src/bin/e_pointer.c
index dd4df9b90..61ffe45bc 100644
--- a/src/bin/e_pointer.c
+++ b/src/bin/e_pointer.c
@@ -922,7 +922,9 @@ e_pointer_reset(E_Pointer *ptr)
    E_FREE_LIST(ptr->stack, _e_pointer_stack_free);
 
    eina_stringshare_del(ptr->type);
+   ptr->type = NULL;
    eina_stringshare_del(ptr->deferred_type);
+   ptr->deferred_type = NULL;
 
    /* reset pointer to default */
    e_pointer_type_push(ptr, ptr, "default");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to