9800316630
Fix a memory leak (patch sent to and accepted by the ctwm folks).
12 lines
289 B
Text
12 lines
289 B
Text
$NetBSD: patch-ad,v 1.1 2003/07/30 05:42:15 simonb Exp $
|
|
|
|
--- util.c.orig Wed Dec 12 02:38:52 2001
|
|
+++ util.c
|
|
@@ -3959,6 +3959,7 @@ Atom prop;
|
|
ProgramName, XGetAtomName(dpy, prop), w);
|
|
stringptr = NULL;
|
|
}
|
|
+ XFree (text_prop.value);
|
|
} else {
|
|
stringptr = NULL;
|
|
}
|