[Xfce4-commits] <tumbler:master> Fix reference counting leak spotted by Philip Van Hoof.

Jannis Pohlmann noreply at xfce.org
Mon Oct 5 15:16:01 CEST 2009


Updating branch refs/heads/master
         to 0b556c1738ddcf4737c680061750b5c340b4a0bc (commit)
       from fd8d82d61bf59129583dc2dab7edae54be214f31 (commit)

commit 0b556c1738ddcf4737c680061750b5c340b4a0bc
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Mon Oct 5 15:13:34 2009 +0200

    Fix reference counting leak spotted by Philip Van Hoof.

 tumblerd/tumbler-registry.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/tumblerd/tumbler-registry.c b/tumblerd/tumbler-registry.c
index b35b8a7..57562ff 100644
--- a/tumblerd/tumbler-registry.c
+++ b/tumblerd/tumbler-registry.c
@@ -444,10 +444,6 @@ tumbler_registry_get_thumbnailer_array (TumblerRegistry *registry,
       /* see if we can find a thumbnailer to handle this URI/MIME type pair */
       thumbnailers[n] = tumbler_registry_lookup (registry, hash_key);
 
-      /* if there is one, take a reference on it */
-      if (thumbnailers[n] != NULL)
-        g_object_ref (thumbnailers[n]);
-
       /* free strings */
       g_free (hash_key);
       g_free (scheme);



More information about the Xfce4-commits mailing list