summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2008-09-15 17:38:07 +0200
committerJulien Danjou <julien@danjou.info>2008-09-15 17:38:07 +0200
commitf18225cee59a4f95dd233ddd5a6fb111e1f65733 (patch)
tree15763b3cf2167010f14b558850dd7d8f82d92731
parent70792aa9975f08de55c85bb61005a03eb3550ffb (diff)
icccm: free reply in wm hints retrieval
Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--icccm/icccm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/icccm/icccm.c b/icccm/icccm.c
index 4afa63b..ea51648 100644
--- a/icccm/icccm.c
+++ b/icccm/icccm.c
@@ -625,6 +625,8 @@ xcb_get_wm_hints_reply(xcb_connection_t *c,
if(length < XCB_NUM_WM_HINTS_ELEMENTS)
hints->window_group = XCB_NONE;
+ free(reply);
+
return 1;
}