From 9a3c4b4f5a635f085257c5361bfa1de075afd6c0 Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 29 Mar 2015 00:21:05 +0000 Subject: plug a leak --- client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index 6858f50..9e6bafd 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: client.c,v 1.190 2015/01/23 19:35:11 okan Exp $ + * $OpenBSD: client.c,v 1.191 2015/03/29 00:21:05 okan Exp $ */ #include @@ -887,6 +887,7 @@ client_mwm_hints(struct client_ctx *cc) !(mwmh->decorations & MWM_DECOR_ALL) && !(mwmh->decorations & MWM_DECOR_BORDER)) cc->bwidth = 0; + XFree(mwmh); } } -- cgit v1.2.3-2-gb3c3