Package: libxml-libxml-perl
Version: 1.58-3
Severity: normal
Tags: patch
There is a memory leak in libxml-libxml-perl-1.58. More info at
http://rt.cpan.org/Public/Bug/Display.html?id=12765
I've included a patch which fixes this problem.
diff -ur libxml-libxml-perl-1.58/LibXML.xs libxml-libxml-perl-1.58.new/LibXML.xs
--- libxml-libxml-perl-1.58/LibXML.xs 2006-03-23 00:34:56.000000000 +0000
+++ libxml-libxml-perl-1.58.new/LibXML.xs 2006-03-23 00:33:36.000000000
+0000
@@ -976,6 +976,7 @@
if ( real_doc != NULL ) {
recover = LibXML_get_recover(real_obj);
+ if (real_doc->URL) { xmlFree(real_doc->URL);}
if ( directory == NULL ) {
SV * newURI = sv_2mortal(newSVpvf("unknown-%12.12d",
(void*)real_doc));
real_doc->URL = xmlStrdup((const xmlChar*)SvPV_nolen(newURI));
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages libxml-libxml-perl depends on:
ii libc6 2.3.6-4 GNU C Library: Shared libraries an
ii libxml-libxml-common-per 0.13-5 Perl module for common routines &
ii libxml-namespacesupport- 1.09-2 Perl module for supporting simple
ii libxml-sax-perl 0.12-5 Perl module for using and building
ii libxml2 2.6.23.dfsg.2-3 GNOME XML library
ii perl 5.8.8-3 Larry Wall's Practical Extraction
ii perl-base [perlapi-5.8.8 5.8.8-3 The Pathologically Eclectic Rubbis
ii zlib1g 1:1.2.3-11 compression library - runtime
libxml-libxml-perl recommends no packages.
-- no debconf information
--
David Pashley
[EMAIL PROTECTED]
Nihil curo de ista tua stulta superstitione.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]