[Xfce4-commits] <garcon:jannis/basic-monitoring> Fix memory leak in merge file nodes with a filename.

Jannis Pohlmann noreply at xfce.org
Sun Sep 5 20:20:01 CEST 2010


Updating branch refs/heads/jannis/basic-monitoring
         to 60460406ec33394222f3f624f99d0ea46c3704fa (commit)
       from a5eaf19e977e06320fa23c8e60ab439362dd8bb3 (commit)

commit 60460406ec33394222f3f624f99d0ea46c3704fa
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Sun Sep 5 20:19:09 2010 +0200

    Fix memory leak in merge file nodes with a filename.

 garcon/garcon-menu-node.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/garcon/garcon-menu-node.c b/garcon/garcon-menu-node.c
index 51e8436..40076d5 100644
--- a/garcon/garcon-menu-node.c
+++ b/garcon/garcon-menu-node.c
@@ -338,6 +338,10 @@ garcon_menu_node_free_data (GarconMenuNode *node)
       g_free (node->data.string);
       break;
 
+    case GARCON_MENU_NODE_TYPE_MERGE_FILE:
+      g_free (node->data.merge_file.filename);
+      break;
+
     default:
       break;
     }



More information about the Xfce4-commits mailing list