aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2015-03-29 00:21:05 +0000
committerokan2015-03-29 00:21:05 +0000
commit9a3c4b4f5a635f085257c5361bfa1de075afd6c0 (patch)
tree8eaad53559b3406970a50cc2506bacde03f2a64f /client.c
parent9bb42946a8791addade91b9e9379f94b144429f7 (diff)
downloadcwm-9a3c4b4f5a635f085257c5361bfa1de075afd6c0.tar.gz
plug a leak
Diffstat (limited to '')
-rw-r--r--client.c3
1 files changed, 2 insertions, 1 deletions
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 <sys/types.h>
@@ -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);
}
}