aboutsummaryrefslogtreecommitdiff
path: root/src/udev-mgr.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-04 13:05:39 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-04 13:05:39 +0100
commit9cf6aa224e626832f2b4c1e4e53d5fd604484396 (patch)
tree77d968bf6edcb2c1ced33ae2c3fd2977232a4836 /src/udev-mgr.c
parentc6d97d1fae6783d5b671de8b7af4ae23116f46a0 (diff)
downloadayatana-indicator-session-9cf6aa224e626832f2b4c1e4e53d5fd604484396.tar.gz
ayatana-indicator-session-9cf6aa224e626832f2b4c1e4e53d5fd604484396.tar.bz2
ayatana-indicator-session-9cf6aa224e626832f2b4c1e4e53d5fd604484396.zip
stop leaking tonnes of glists
Diffstat (limited to 'src/udev-mgr.c')
-rw-r--r--src/udev-mgr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev-mgr.c b/src/udev-mgr.c
index d110304..6749157 100644
--- a/src/udev-mgr.c
+++ b/src/udev-mgr.c
@@ -81,11 +81,11 @@ udev_mgr_init (UdevMgr* self)
self->supported_usb_scanners = g_hash_table_new_full (g_str_hash,
g_str_equal,
g_free,
- g_free);
+ (GDestroyNotify)g_list_free);
self->supported_scsi_scanners = g_hash_table_new_full (g_str_hash,
g_str_equal,
g_free,
- g_free);
+ (GDestroyNotify)g_list_free);
self->scanners_present = g_hash_table_new_full (g_str_hash,
g_str_equal,
g_free,