summaryrefslogtreecommitdiff
path: root/wm/ctwm
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2003-06-04 04:36:56 +0000
committersimonb <simonb@pkgsrc.org>2003-06-04 04:36:56 +0000
commit33e97d56635f5f1d5f9e7d367293e927b5fa38ee (patch)
tree8cd75d4460e4186ce60992fe98f77fd1a6813a10 /wm/ctwm
parentd51a6f72a9ef2c128c7d4cfc0bef1f8bc7ea733b (diff)
downloadpkgsrc-33e97d56635f5f1d5f9e7d367293e927b5fa38ee.tar.gz
Fix a memory leak (patch sent to and accepted by the ctwm folks).
Diffstat (limited to 'wm/ctwm')
-rw-r--r--wm/ctwm/distinfo3
-rw-r--r--wm/ctwm/patches/patch-aa12
2 files changed, 14 insertions, 1 deletions
diff --git a/wm/ctwm/distinfo b/wm/ctwm/distinfo
index 7d4adda3695..34c6847ec0c 100644
--- a/wm/ctwm/distinfo
+++ b/wm/ctwm/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.3 2002/03/15 01:07:47 nathanw Exp $
+$NetBSD: distinfo,v 1.4 2003/06/04 04:36:56 simonb Exp $
SHA1 (ctwm-3.5.2.tar.gz) = 938750b798b53262f00436f7cd2228b414ce3057
Size (ctwm-3.5.2.tar.gz) = 598142 bytes
+SHA1 (patch-aa) = ad06698a5d0694a98c808685b5dbec8ccf47442f
diff --git a/wm/ctwm/patches/patch-aa b/wm/ctwm/patches/patch-aa
new file mode 100644
index 00000000000..75ea9587cb5
--- /dev/null
+++ b/wm/ctwm/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2003/06/04 04:36:56 simonb Exp $
+
+--- util.c.orig Tue Sep 14 23:26:02 1999
++++ util.c
+@@ -3897,6 +3897,7 @@ Atom prop;
+ ProgramName, XGetAtomName(dpy, prop), w);
+ stringptr = NULL;
+ }
++ XFree (text_prop.value);
+ } else {
+ stringptr = NULL;
+ }