[Xfce4-commits] <xfconf:master> Destroy hash table after prefetching the cache.

Nick Schermer noreply at xfce.org
Mon Feb 8 19:56:07 CET 2010


Updating branch refs/heads/master
         to 9009610f6fa185815f6ebd5c00da7cb64f17b41e (commit)
       from e27eacb054af4e208f85d76298a5f6bb2677f707 (commit)

commit 9009610f6fa185815f6ebd5c00da7cb64f17b41e
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Feb 8 18:44:58 2010 +0100

    Destroy hash table after prefetching the cache.

 xfconf/xfconf-cache.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/xfconf/xfconf-cache.c b/xfconf/xfconf-cache.c
index b9613e9..5af66a2 100644
--- a/xfconf/xfconf-cache.c
+++ b/xfconf/xfconf-cache.c
@@ -658,6 +658,7 @@ xfconf_cache_prefetch(XfconfCache *cache,
         /* FIXME: perhaps change item API to allow 'stealing' a GValue rather
          * than copying all the time */
         g_hash_table_foreach(props, xfconf_cache_prefetch_ht, cache);
+        g_hash_table_destroy(props);
         /* TODO: honor max entries */
         ret = TRUE;
     } else



More information about the Xfce4-commits mailing list