summaryrefslogtreecommitdiff
path: root/applet
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2009-05-14 10:42:15 +0100
committerBastien Nocera <hadess@hadess.net>2009-05-14 10:42:15 +0100
commit6802a7d83521ea9266456ad415492ca46bcf0105 (patch)
tree391a838a51293a6e082c836c988e40f60cf6b9f2 /applet
parentf025f042c2da382a86e01b44cb253c11ed82f267 (diff)
downloadgnome-bluetooth-6802a7d83521ea9266456ad415492ca46bcf0105.tar.gz
Fix memleaks of the Services hashtable data
Spotted by Dan Williams. Thanks!
Diffstat (limited to 'applet')
-rw-r--r--applet/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/applet/main.c b/applet/main.c
index 9a93bfb3..7ef7a84c 100644
--- a/applet/main.c
+++ b/applet/main.c
@@ -639,6 +639,8 @@ update_device_list (GtkTreeIter *parent)
if (proxy != NULL)
g_object_unref (proxy);
+ if (table != NULL)
+ g_hash_table_unref (table);
g_free (alias);
g_free (address);
cont = gtk_tree_model_iter_next (devices_model, &iter);