[Xcb-commit] xcb-demo

Vincent Torri doursse at kemper.freedesktop.org
Mon May 1 14:22:03 PDT 2006


 xcb-demo/main.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

New commits:
diff-tree cc39decd1448615709cee3164a9462298f236680 (from 8023ae3549d3a82c294abe172a12d5bcf0faf524)
Author: TORRI Vincent <torri at doursse.(none)>
Date:   Mon May 1 23:21:00 2006 +0200

    Use XCBDisconnect when exiting the program

diff --git a/xcb-demo/main.c b/xcb-demo/main.c
index 205511b..110ac19 100644
--- a/xcb-demo/main.c
+++ b/xcb-demo/main.c
@@ -211,7 +211,7 @@ int main(int argc, char **argv)
 #else
     wait_events(c);
 #endif
-
+    XCBDisconnect(c);
     exit(0);
     /*NOTREACHED*/
 }


More information about the xcb-commit mailing list