JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
plug memory leak in get_ws_idx
[spectrwm.git] / spectrwm.c
index e5a8a02..d1c876f 100644 (file)
@@ -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;