JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
plug memory leak in get_ws_idx
authorDavid Hill <dhill@conformal.com>
Fri, 20 Jul 2012 16:35:12 +0000 (12:35 -0400)
committerReginald Kennedy <rk@rejii.com>
Fri, 20 Jul 2012 22:00:03 +0000 (06:00 +0800)
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;