[SCM] lilv/master: Add patch taken from upstream SVN to fix a memory leak.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Tue Jun 21 09:55:05 UTC 2011


The following commit has been merged in the master branch:
commit 0266ca0e3d76921b426f1f44b7ec936195aee376
Author: Alessio Treglia <alessio at debian.org>
Date:   Tue Jun 21 11:24:51 2011 +0200

    Add patch taken from upstream SVN to fix a memory leak.

diff --git a/debian/patches/2001-memleak.patch b/debian/patches/2001-memleak.patch
new file mode 100644
index 0000000..98a3c12
--- /dev/null
+++ b/debian/patches/2001-memleak.patch
@@ -0,0 +1,17 @@
+Description: Fix memory leak.
+Origin: upstream, commit:3410
+---
+ src/ui.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- lilv.orig/src/ui.c
++++ lilv/src/ui.c
+@@ -90,7 +90,7 @@ lilv_ui_is_supported(const LilvUI*
+ 		                                       lilv_node_as_uri(type));
+ 		if (q) {
+ 			if (ui_type) {
+-				*ui_type = lilv_node_duplicate(type);
++				*ui_type = type;
+ 			}
+ 			return q;
+ 		}
diff --git a/debian/patches/series b/debian/patches/series
index ffee9e4..0f01afb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 1001-dont_run_ldconfig.patch
 0002-dyn_manifest_fix.patch
+2001-memleak.patch

-- 
lilv packaging



More information about the pkg-multimedia-commits mailing list