rpms/py-radix/devel py-radix-0.5-memleak.patch, NONE, 1.1 py-radix.spec, 1.1, 1.2
Matt Domsch
mdomsch at fedoraproject.org
Fri Oct 23 14:09:17 UTC 2009
- Previous message (by thread): rpms/kernel/F-12 patch-2.6.31.5.bz2.sign, NONE, 1.1 .cvsignore, 1.1131, 1.1132 kernel.spec, 1.1878, 1.1879 sources, 1.1089, 1.1090 upstream, 1.1003, 1.1004 patch-2.6.31.4.bz2.sign, 1.1, NONE patch-2.6.31.5-rc1.bz2.sign, 1.1, NONE
- Next message (by thread): rpms/py-radix/EL-5 py-radix-0.5-memleak.patch, NONE, 1.1 py-radix.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mdomsch
Update of /cvs/extras/rpms/py-radix/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23468
Modified Files:
py-radix.spec
Added Files:
py-radix-0.5-memleak.patch
Log Message:
Add patch by Alexander Sabourenkov to fix memory leak (Debian #512830)
py-radix-0.5-memleak.patch:
radix_python.c | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE py-radix-0.5-memleak.patch ---
With thanks to Debian bug 512830. Add patch by Alexander Sabourenkov
to fix memory leak.
Fedora patch originally taken from
http://ftp-stud.hs-esslingen.de/debian/pool/main/p/py-radix/py-radix_0.5-2.diff.gz
diff -u py-radix-0.5.orig/radix_python.c py-radix-0.5/radix_python.c
--- py-radix-0.5.orig/radix_python.c 2007-12-17 20:49:01.000000000 -0600
+++ py-radix-0.5/radix_python.c 2009-10-23 09:03:50.000000000 -0500
@@ -95,6 +95,7 @@
Py_XDECREF(self->family);
Py_XDECREF(self->network);
Py_XDECREF(self->prefix);
+ Py_XDECREF(self->packed);
PyObject_Del(self);
}
Index: py-radix.spec
===================================================================
RCS file: /cvs/extras/rpms/py-radix/devel/py-radix.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- py-radix.spec 13 Oct 2009 17:14:46 -0000 1.1
+++ py-radix.spec 23 Oct 2009 14:09:16 -0000 1.2
@@ -1,8 +1,9 @@
Name: py-radix
Summary: Radix tree data structure for Python
Version: 0.5
-Release: 5%{?dist}
+Release: 6%{?dist}
Source0: http://www2.mindrot.org/files/py-radix/py-radix-%{version}.tar.gz
+Patch0: py-radix-0.5-memleak.patch
License: BSD with advertising
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-buildroot
@@ -24,6 +25,7 @@ for networks (the data structure itself
%prep
%setup -q
+%patch0 -p1
rm -f inet_ntop.c strlcpy.c
touch inet_ntop.c strlcpy.c
@@ -43,6 +45,9 @@ rm -rf $RPM_BUILD_ROOT
%doc LICENSE README TODO ChangeLog
%changelog
+* Fri Oct 23 2009 Matt Domsch <mdomsch at fedoraproject.org> - 0.5-6
+- Add patch by Alexander Sabourenkov to fix memory leak (Debian #512830)
+
* Mon Oct 12 2009 Matt Domsch <mdomsch at fedoraproject.org> - 0.5-5
- remove inet_ntop.c and strlcpy.c for safety. They're only used on
Windows.
- Previous message (by thread): rpms/kernel/F-12 patch-2.6.31.5.bz2.sign, NONE, 1.1 .cvsignore, 1.1131, 1.1132 kernel.spec, 1.1878, 1.1879 sources, 1.1089, 1.1090 upstream, 1.1003, 1.1004 patch-2.6.31.4.bz2.sign, 1.1, NONE patch-2.6.31.5-rc1.bz2.sign, 1.1, NONE
- Next message (by thread): rpms/py-radix/EL-5 py-radix-0.5-memleak.patch, NONE, 1.1 py-radix.spec, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list