pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography/opencpn-plugin-statusbar Fix memory leak; bu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fb3a797a88fe
branches: trunk
changeset: 378792:fb3a797a88fe
user: bouyer <bouyer%pkgsrc.org@localhost>
date: Sun Apr 15 10:00:56 2018 +0000
description:
Fix memory leak; bump PKGREVISION
diffstat:
geography/opencpn-plugin-statusbar/Makefile | 3 +-
geography/opencpn-plugin-statusbar/distinfo | 3 +-
geography/opencpn-plugin-statusbar/patches/patch-src_statusbar_pi.cpp | 13 ++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r 0e0a18d4cf6f -r fb3a797a88fe geography/opencpn-plugin-statusbar/Makefile
--- a/geography/opencpn-plugin-statusbar/Makefile Sun Apr 15 09:44:03 2018 +0000
+++ b/geography/opencpn-plugin-statusbar/Makefile Sun Apr 15 10:00:56 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2018/04/09 11:04:36 bouyer Exp $
+# $NetBSD: Makefile,v 1.5 2018/04/15 10:00:56 bouyer Exp $
#
VERSION= 20180405
+PKGREVISION= 1
DISTNAME= statusbar_pi-${VERSION}
PKGNAME= opencpn-plugin-statusbar-${VERSION}
CATEGORIES= geography
diff -r 0e0a18d4cf6f -r fb3a797a88fe geography/opencpn-plugin-statusbar/distinfo
--- a/geography/opencpn-plugin-statusbar/distinfo Sun Apr 15 09:44:03 2018 +0000
+++ b/geography/opencpn-plugin-statusbar/distinfo Sun Apr 15 10:00:56 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2018/04/05 16:10:04 bouyer Exp $
+$NetBSD: distinfo,v 1.4 2018/04/15 10:00:56 bouyer Exp $
SHA1 (statusbar_pi-20180405-024822eb32a61f4ef4e52d4cb15bd1f4b86b2763.tar.gz) = 52191419c7957657c464866446f1c37b0edc0710
RMD160 (statusbar_pi-20180405-024822eb32a61f4ef4e52d4cb15bd1f4b86b2763.tar.gz) = 19fe39ab310f453f5804bd9e5f976a9de5254ca0
SHA512 (statusbar_pi-20180405-024822eb32a61f4ef4e52d4cb15bd1f4b86b2763.tar.gz) =
f8dff4363982a93e56dcd70add80eaefda0d7f7ca806fdb021e73144896ddbcdbe5354d83a0c0f18517821c698ef7214de36ea2cfc99c97a397edc08640c63b0
Size (statusbar_pi-20180405-024822eb32a61f4ef4e52d4cb15bd1f4b86b2763.tar.gz) = 218490 bytes
SHA1 (patch-cmake_PluginConfigure.cmake) = 5b51256240f1355ebd746ea0a4c0492a2ac935e6
+SHA1 (patch-src_statusbar_pi.cpp) = a3f3904e212b1a79f964b61d9f457d11ac624b78
diff -r 0e0a18d4cf6f -r fb3a797a88fe geography/opencpn-plugin-statusbar/patches/patch-src_statusbar_pi.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/opencpn-plugin-statusbar/patches/patch-src_statusbar_pi.cpp Sun Apr 15 10:00:56 2018 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_statusbar_pi.cpp,v 1.1 2018/04/15 10:00:57 bouyer Exp $
+Fix memory leak
+
+--- src/statusbar_pi.cpp.orig 2018-04-14 18:19:56.820903950 +0200
++++ src/statusbar_pi.cpp 2018-04-14 18:27:10.083280415 +0200
+@@ -424,6 +424,7 @@
+ if(pgc) {
+ pgc->SetBrush(wxColour(color.Red(), color.Green(), color.Blue(), alpha));
+ pgc->DrawRectangle(px, py, width, height);
++ delete pgc;
+ }
+ #else
+ dc.SetTextBackground(color);
Home |
Main Index |
Thread Index |
Old Index