[Xcb-commit] xcb-demo

Vincent Torri doursse at kemper.freedesktop.org
Mon May 1 14:27:54 PDT 2006


 xcb-demo/xcbrandr.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

New commits:
diff-tree 8095b4897c84179b17f93918011e296de1ee65fd (from cc39decd1448615709cee3164a9462298f236680)
Author: TORRI Vincent <torri at doursse.(none)>
Date:   Mon May 1 23:27:30 2006 +0200

    Use XCBDisconnect and not free on a connection. Free a reply

diff --git a/xcb-demo/xcbrandr.c b/xcb-demo/xcbrandr.c
index f3d84e2..1fba5d4 100644
--- a/xcb-demo/xcbrandr.c
+++ b/xcb-demo/xcbrandr.c
@@ -446,6 +446,7 @@ main (int argc, char **argv)
   XRRFreeScreenConfigInfo(sc);
 #endif
   free(sc);
-  free(c);
+  free(rr_version);
+  XCBDisconnect(c);
   return(0);
 }


More information about the xcb-commit mailing list