From: TORRI Vincent Date: Mon, 1 May 2006 21:21:00 +0000 (+0200) Subject: Use XCBDisconnect when exiting the program X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2120cf1d6ee5e27a3d5b6c686d5fb7c55474a63f;p=free-sw%2Fxcb%2Fdemo Use XCBDisconnect when exiting the program --- diff --git a/main.c b/main.c index 205511b..110ac19 100644 --- a/main.c +++ b/main.c @@ -211,7 +211,7 @@ int main(int argc, char **argv) #else wait_events(c); #endif - + XCBDisconnect(c); exit(0); /*NOTREACHED*/ }