[Xcb-commit] icccm

Julien Danjou jdanjou at kemper.freedesktop.org
Mon Sep 15 08:42:41 PDT 2008


 icccm/icccm.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f18225cee59a4f95dd233ddd5a6fb111e1f65733
Author: Julien Danjou <julien at danjou.info>
Date:   Mon Sep 15 17:38:07 2008 +0200

    icccm: free reply in wm hints retrieval
    
    Signed-off-by: Julien Danjou <julien at danjou.info>

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;
 }
 


More information about the xcb-commit mailing list