r12758 - /desktop/unstable/gtk+2.0/debian/patches/031_gtksearchenginetracker_fixes.patch

joss at users.alioth.debian.org joss at users.alioth.debian.org
Sat Sep 22 16:32:06 UTC 2007


Author: joss
Date: Sat Sep 22 16:32:06 2007
New Revision: 12758

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=12758
Log:
Correctly free the dbus connection when the tracker call fails.

Modified:
    desktop/unstable/gtk+2.0/debian/patches/031_gtksearchenginetracker_fixes.patch

Modified: desktop/unstable/gtk+2.0/debian/patches/031_gtksearchenginetracker_fixes.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gtk%2B2.0/debian/patches/031_gtksearchenginetracker_fixes.patch?rev=12758&op=diff
==============================================================================
--- desktop/unstable/gtk+2.0/debian/patches/031_gtksearchenginetracker_fixes.patch (original)
+++ desktop/unstable/gtk+2.0/debian/patches/031_gtksearchenginetracker_fixes.patch Sat Sep 22 16:32:06 2007
@@ -1,7 +1,7 @@
 Index: gtk+-2.12.0/gtk/gtksearchenginetracker.c
 ===================================================================
---- gtk+-2.12.0.orig/gtk/gtksearchenginetracker.c	2007-09-21 12:45:21.092692030 +0200
-+++ gtk+-2.12.0/gtk/gtksearchenginetracker.c	2007-09-21 12:46:33.856838622 +0200
+--- gtk+-2.12.0.orig/gtk/gtksearchenginetracker.c	2007-09-13 22:35:40.000000000 +0200
++++ gtk+-2.12.0/gtk/gtksearchenginetracker.c	2007-09-22 18:31:11.153264053 +0200
 @@ -35,6 +35,7 @@
  
  static TrackerClient * (*tracker_connect) (gboolean enable_warnings) = NULL;
@@ -35,7 +35,7 @@
  
    open_libtracker ();
  
-@@ -290,6 +293,17 @@
+@@ -290,6 +293,18 @@
    if (!tracker_client)
      return NULL;
  
@@ -47,6 +47,7 @@
 +  if (err != NULL)
 +    {
 +      g_error_free (err);
++      tracker_disconnect (tracker_client);
 +      return NULL;
 +    }
 +




More information about the pkg-gnome-commits mailing list