Bug#837203: libwx-perl: Leaks memory using Wx::Timer

Mark Dootson bugreports at znix.com
Sat Sep 10 02:04:04 UTC 2016


Package: libwx-perl
Version: 1:0.9923-4
Severity: important
Tags: patch

Dear Maintainer,

I maintain Wx and fixed a memory leak in release 0.9928.
It affects Wx::Timer use - leaks 1 scalar every timer event.
As timer events may be triggered at millisecond intervals, this could be a
serious issue for developers using Wx::Timer.

The patch was applied for release 0.9928 and fixes the issue. Please consider
applying it to stable package.

Index: XS/Timer.xs
=========================================
--- XS/Timer.xs (revision 3543)
+++ XS/Timer.xs (revision 3544)
@@ -94,3 +94,7 @@
 void
 wxTimer::Stop()

+void
+wxTimer::Notify()
+  CODE:
+    THIS->wxTimer::Notify();





-- System Information:
Debian Release: 8.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)



More information about the pkg-perl-maintainers mailing list