This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository evisum.
View the commit online.
commit be54412b23ec3563187eb18391940305615dcd25
Author: Alastair Poole <[email protected]>
AuthorDate: Sun Mar 29 08:08:48 2026 +0100
graph: fix leak.
Can someone see if this is right?
---
src/bin/ui/evisum_ui_graph.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/bin/ui/evisum_ui_graph.c b/src/bin/ui/evisum_ui_graph.c
index ac632bb..2757a16 100644
--- a/src/bin/ui/evisum_ui_graph.c
+++ b/src/bin/ui/evisum_ui_graph.c
@@ -12,6 +12,10 @@ _graph_target_valid(Evas_Object *graph_bg, Evas_Object *graph_vg) {
static Evas_Vg_Container *
_graph_root_reset(Evas_Object *graph_vg) {
Evas_Vg_Container *root;
+ Evas_Vg_Node *old_root;
+
+ old_root = evas_object_vg_root_node_get(graph_vg);
+ if (old_root) efl_del(old_root);
root = evas_vg_container_add(graph_vg);
if (!root) return NULL;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.