Bug#669012: libdpkg-perl: Memory leak: Dpkg::Control objects not garbage-collected

2012-04-16 Thread Guillem Jover
Hi! On Mon, 2012-04-16 at 15:19:38 +0100, Ben Harris wrote: > Package: libdpkg-perl > Version: 1.16.2 > Severity: normal > Tags: patch > > When I run a Perl script that repeatedly creates unreferenced > Dpkg::Control objects, the perl process (as shown in "top") consumes > memory without limit. >

Bug#669012: libdpkg-perl: Memory leak: Dpkg::Control objects not garbage-collected

2012-04-16 Thread Ben Harris
Package: libdpkg-perl Version: 1.16.2 Severity: normal Tags: patch When I run a Perl script that repeatedly creates unreferenced Dpkg::Control objects, the perl process (as shown in "top") consumes memory without limit. A one-line sample: perl -MDpkg::Control -e 'Dpkg::Control->new while 1