This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch evas-buffer-damage-after-norender
in repository efl.
View the commit online.
commit 55d1de8c99f2e5ae642f204997bcde4acc21b872
Author: Cedric BAIL <[email protected]>
AuthorDate: Wed Dec 2 15:23:13 2026 -0600
evas/software_generic: delete every mempool the module creates
module_open() adds nine mempools, module_close() deleted seven of
them. The multi-font and ector surface pools were left behind, and as
the engine module is opened again after every evas_shutdown() and
evas_init() cycle, each cycle overwrote the pointers and lost the old
pools together with their chunks.
Seen by valgrind on five init, evas_render_method_lookup("buffer") and
shutdown cycles, run on this tree with EFL_RUN_IN_TREE=1:
before: definitely lost 1,240 bytes in 13 blocks, 1,028 indirectly
after: definitely lost 600 bytes in 5 blocks, none indirectly
The 600 bytes left are the Eina_Module handles that
evas_module_find_type() drops on purpose, as its comment says.
No test: a pool that is not deleted cannot be told from the check
framework, only from valgrind.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
---
src/modules/evas/engines/software_generic/evas_engine.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c
index 11d081400f..66115abf68 100644
--- a/src/modules/evas/engines/software_generic/evas_engine.c
+++ b/src/modules/evas/engines/software_generic/evas_engine.c
@@ -6041,7 +6041,9 @@ module_close(Evas_Module *em EINA_UNUSED)
eina_mempool_del(_mp_command_image);
eina_mempool_del(_mp_command_font);
eina_mempool_del(_mp_command_map);
+ eina_mempool_del(_mp_command_multi_font);
eina_mempool_del(_mp_command_ector);
+ eina_mempool_del(_mp_command_ector_surface);
if (_evas_soft_gen_log_dom >= 0)
{
eina_log_domain_unregister(_evas_soft_gen_log_dom);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.