[Xfce4-commits] <garcon:master> Plug leak in garcon_menu_merger_resolve_moves().
Nick Schermer
noreply at xfce.org
Sat Jun 25 21:26:01 CEST 2011
Updating branch refs/heads/master
to 2a09cdb913eda786d1a8d47bc439fa8cade6010b (commit)
from aa10182c18268a570f85db412dff7a8c62cbec03 (commit)
commit 2a09cdb913eda786d1a8d47bc439fa8cade6010b
Author: Nick Schermer <nick at xfce.org>
Date: Sat Jun 25 21:22:06 2011 +0200
Plug leak in garcon_menu_merger_resolve_moves().
garcon/garcon-menu-merger.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/garcon/garcon-menu-merger.c b/garcon/garcon-menu-merger.c
index 152fac4..4dace52 100644
--- a/garcon/garcon-menu-merger.c
+++ b/garcon/garcon-menu-merger.c
@@ -1189,6 +1189,8 @@ garcon_menu_merger_resolve_moves (GNode *node)
g_node_traverse (node, G_IN_ORDER, G_TRAVERSE_ALL, 2,
(GNodeTraverseFunc) remove_moves, &moves);
+ g_list_free (moves);
+
for (iter = pairs; iter != NULL; iter = g_list_next (iter))
{
if (g_list_length (iter) < 2)
More information about the Xfce4-commits
mailing list