From: David Hill Date: Fri, 20 Jul 2012 16:35:12 +0000 (-0400) Subject: plug memory leak in get_ws_idx X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=ced6f98d601b5fce8ee4cd92b292edc473f49203;p=spectrwm.git plug memory leak in get_ws_idx --- 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;