From ced6f98d601b5fce8ee4cd92b292edc473f49203 Mon Sep 17 00:00:00 2001 From: David Hill Date: Fri, 20 Jul 2012 12:35:12 -0400 Subject: [PATCH] plug memory leak in get_ws_idx --- spectrwm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/spectrwm.c b/spectrwm.c index e5a8a02..d1c876f 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -6464,6 +6464,7 @@ get_ws_idx(xcb_window_t id) DNPRINTF(SWM_D_PROP, "get_ws_idx: window: #%s: %s", errstr, prop); } + free(prop); } return ws_idx; -- 1.7.10.4