summaryrefslogtreecommitdiff
path: root/wm/ctwm
diff options
context:
space:
mode:
authorsimonb <simonb>2003-06-04 04:36:56 +0000
committersimonb <simonb>2003-06-04 04:36:56 +0000
commitc232831d4417a694eb8844057fef083f0c0b9539 (patch)
tree8cd75d4460e4186ce60992fe98f77fd1a6813a10 /wm/ctwm
parentfdedf8b3a7a93c3e1fd089faf462f775e94e9776 (diff)
downloadpkgsrc-c232831d4417a694eb8844057fef083f0c0b9539.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;
+ }