From: TORRI Vincent Date: Mon, 1 May 2006 21:27:30 +0000 (+0200) Subject: Use XCBDisconnect and not free on a connection. Free a reply X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49361ce98be74eb66766175e93565f106ec2a8c2;p=free-sw%2Fxcb%2Fdemo Use XCBDisconnect and not free on a connection. Free a reply --- diff --git a/xcbrandr.c b/xcbrandr.c index f3d84e2..1fba5d4 100644 --- a/xcbrandr.c +++ b/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); }