From ac8219c0a89b2bdc1b6ff4b711deb61bf5d5a9a7 Mon Sep 17 00:00:00 2001 From: frese Date: Tue, 9 Oct 2001 15:27:30 +0000 Subject: [PATCH] - fixed a memory leak in scx_Wm_Hints. --- c/xlib/client.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c/xlib/client.c b/c/xlib/client.c index 4463b31..36e5788 100644 --- a/c/xlib/client.c +++ b/c/xlib/client.c @@ -251,6 +251,9 @@ s48_value scx_Wm_Hints (s48_value dpy, s48_value w) { S48_GC_UNPROTECT(); } + + XFree((char*)p); + return res; }