aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Taylor <rob.taylor@codethink.co.uk>2008-03-13 15:20:28 +0100
committerRob Taylor <rob.taylor@codethink.co.uk>2008-03-13 15:24:39 +0100
commit581d3dadff6555ea96255fd328f2427ddc1f93b2 (patch)
treebb1afc36ec49e1467d3e8dedd869b2703d0f6b21
parentadd large as a valid vfat mount option for FreeBSD (diff)
downloadgentoo-hal-581d3dadff6555ea96255fd328f2427ddc1f93b2.tar.gz
gentoo-hal-581d3dadff6555ea96255fd328f2427ddc1f93b2.tar.bz2
gentoo-hal-581d3dadff6555ea96255fd328f2427ddc1f93b2.zip
Fix memory leak in property_index_check_all
We were failing the free the GList returned by g_hash_table_get_keys.
-rw-r--r--hald/device_store.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hald/device_store.c b/hald/device_store.c
index aff8f132..66ad5f8e 100644
--- a/hald/device_store.c
+++ b/hald/device_store.c
@@ -531,5 +531,6 @@ property_index_check_all (HalDeviceStore *store, HalDevice *device, gboolean add
property_index_modify_string (store, device, lp->data, added);
}
}
+ g_list_free (indexed_properties);
}