This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit 4ab4d0e9485874e8c785aa413ddf99d7f6749312
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Fri Jul 18 10:03:59 2025 +0100
edje - fix crash - handle part not found in hash on free/clean
fixes #121 (last crashdump there as that one has something sensible i
can do something with)
---
src/lib/edje/edje_cache.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/lib/edje/edje_cache.c b/src/lib/edje/edje_cache.c
index 8afe284e7a..9d2cbbd210 100644
--- a/src/lib/edje/edje_cache.c
+++ b/src/lib/edje/edje_cache.c
@@ -777,6 +777,8 @@ _edje_cache_coll_clean(Edje_File *edf)
edf->collection_cache = eina_list_remove_list(edf->collection_cache, eina_list_last(edf->collection_cache));
ce = eina_hash_find(edf->collection, edc->part);
+ if (!ce)
+ ERR("Can't find part '%s' in edje file '%s'", edc->part, edf->path);
_edje_collection_free(edf, edc, ce);
}
}
@@ -796,6 +798,8 @@ _edje_cache_coll_flush(Edje_File *edf)
last);
ce = eina_hash_find(edf->collection, edc->part);
+ if (!ce)
+ ERR("Can't find part '%s' in edje file '%s'", edc->part, edf->path);
_edje_collection_free(edf, edc, ce);
}
}
@@ -811,7 +815,7 @@ _edje_cache_coll_unref(Edje_File *edf, Edje_Part_Collection *edc)
ce = eina_hash_find(edf->collection, edc->part);
if (!ce)
{
- ERR("Something is wrong with reference count of '%s'.", edc->part);
+ ERR("Can't find part '%s' in edje file '%s'", edc->part, edf->path);
}
else if (ce->ref)
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.