r28693 - in /desktop/unstable/libsoup2.4/debian: changelog control patches/ patches/01_memleaks.patch patches/series

joss at users.alioth.debian.org joss at users.alioth.debian.org
Tue Jun 28 15:16:07 UTC 2011


Author: joss
Date: Tue Jun 28 15:16:06 2011
New Revision: 28693

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=28693
Log:
01_memleaks.patch: stolen from upstream git. Fix a few memory leaks.

Added:
    desktop/unstable/libsoup2.4/debian/patches/
    desktop/unstable/libsoup2.4/debian/patches/01_memleaks.patch
    desktop/unstable/libsoup2.4/debian/patches/series
Modified:
    desktop/unstable/libsoup2.4/debian/changelog
    desktop/unstable/libsoup2.4/debian/control

Modified: desktop/unstable/libsoup2.4/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libsoup2.4/debian/changelog?rev=28693&op=diff
==============================================================================
--- desktop/unstable/libsoup2.4/debian/changelog [utf-8] (original)
+++ desktop/unstable/libsoup2.4/debian/changelog [utf-8] Tue Jun 28 15:16:06 2011
@@ -1,3 +1,9 @@
+libsoup2.4 (2.34.2-2) UNRELEASED; urgency=low
+
+  * 01_memleaks.patch: stolen from upstream git. Fix a few memory leaks.
+
+ -- Josselin Mouette <joss at debian.org>  Tue, 28 Jun 2011 17:10:17 +0200
+
 libsoup2.4 (2.34.2-1) unstable; urgency=low
 
   * New upstream release.

Modified: desktop/unstable/libsoup2.4/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libsoup2.4/debian/control?rev=28693&op=diff
==============================================================================
--- desktop/unstable/libsoup2.4/debian/control [utf-8] (original)
+++ desktop/unstable/libsoup2.4/debian/control [utf-8] Tue Jun 28 15:16:06 2011
@@ -7,7 +7,7 @@
 Section: devel
 Priority: optional
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
-Uploaders: Andreas Henriksson <andreas at fatal.se>, Emilio Pozuelo Monfort <pochu at debian.org>, Sebastian Dröge <slomo at debian.org>
+Uploaders: Andreas Henriksson <andreas at fatal.se>, Emilio Pozuelo Monfort <pochu at debian.org>, Josselin Mouette <joss at debian.org>, Sebastian Dröge <slomo at debian.org>
 Build-Depends: debhelper (>= 5),
                cdbs (>= 0.4.90),
                gnome-pkg-tools,

Added: desktop/unstable/libsoup2.4/debian/patches/01_memleaks.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libsoup2.4/debian/patches/01_memleaks.patch?rev=28693&op=file
==============================================================================
--- desktop/unstable/libsoup2.4/debian/patches/01_memleaks.patch (added)
+++ desktop/unstable/libsoup2.4/debian/patches/01_memleaks.patch [utf-8] Tue Jun 28 15:16:06 2011
@@ -1,0 +1,46 @@
+From e411c8e7d3b9e6a2c68c3fa9d12539afa887bb8e Mon Sep 17 00:00:00 2001
+From: Milan Crha <mcrha at redhat.com>
+Date: Fri, 03 Jun 2011 05:59:01 +0000
+Subject: Fix few memory leaks
+
+https://bugzilla.gnome.org/show_bug.cgi?id=651643
+---
+diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c
+index 2b9c29d..1118e88 100644
+--- a/libsoup/soup-headers.c
++++ b/libsoup/soup-headers.c
+@@ -755,6 +755,8 @@ parse_param_list (const char *header, char delim)
+ 
+ 		if (override || !g_hash_table_lookup (params, item))
+ 			g_hash_table_replace (params, item, value);
++		else
++			g_free (item);
+ 	}
+ 
+ 	g_slist_free (list);
+diff --git a/libsoup/soup-session-sync.c b/libsoup/soup-session-sync.c
+index 8cc7ab5..3719dc2 100644
+--- a/libsoup/soup-session-sync.c
++++ b/libsoup/soup-session-sync.c
+@@ -444,4 +444,6 @@ flush_queue (SoupSession *session)
+ 			g_cond_wait (priv->cond, priv->lock);
+ 	} while (!done);
+ 	g_mutex_unlock (priv->lock);
++
++	g_hash_table_destroy (current);
+ }
+diff --git a/tests/dns.c b/tests/dns.c
+index d0101ee..6c44800 100644
+--- a/tests/dns.c
++++ b/tests/dns.c
+@@ -20,6 +20,8 @@ resolve_callback (SoupAddress *addr, guint status, gpointer data)
+ 	}
+ 	printf ("\n");
+ 
++	g_object_unref (addr);
++
+ 	nlookups--;
+ 	if (nlookups == 0)
+ 		g_main_loop_quit (loop);
+--
+cgit v0.9

Added: desktop/unstable/libsoup2.4/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libsoup2.4/debian/patches/series?rev=28693&op=file
==============================================================================
--- desktop/unstable/libsoup2.4/debian/patches/series (added)
+++ desktop/unstable/libsoup2.4/debian/patches/series [utf-8] Tue Jun 28 15:16:06 2011
@@ -1,0 +1,2 @@
+01_memleaks.patch
+02_tls.patch




More information about the pkg-gnome-commits mailing list