[Xfce4-commits] <xfce4-settings:master> Plug some leaks in (load_properties).
Jérôme Guelfucci
noreply at xfce.org
Tue Jan 19 19:34:38 CET 2010
Updating branch refs/heads/master
to a70daf3b25c3c15f7fe5f7412d43273a4dae3d5b (commit)
from 94376bfa87ccc7ddb8351f5275699eb02a038bf2 (commit)
commit a70daf3b25c3c15f7fe5f7412d43273a4dae3d5b
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sat Jan 16 10:13:43 2010 +0100
Plug some leaks in (load_properties).
Destroy the hash table if it was not empty and free the list of keys.
xfce4-settings-editor/main_window.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/xfce4-settings-editor/main_window.c b/xfce4-settings-editor/main_window.c
index ea108c8..4eaeab8 100644
--- a/xfce4-settings-editor/main_window.c
+++ b/xfce4-settings-editor/main_window.c
@@ -438,6 +438,9 @@ load_properties (XfconfChannel *channel, GtkTreeStore *store, GtkTreeView *treev
g_strfreev (components);
}
+
+ g_list_free (keys);
+ g_hash_table_destroy (hash_table);
}
}
More information about the Xfce4-commits
mailing list