Use XCBDisconnect and not free on a connection. Free a reply
authorTORRI Vincent <torri@doursse.(none)>
Mon, 1 May 2006 21:27:30 +0000 (23:27 +0200)
committerTORRI Vincent <torri@doursse.(none)>
Mon, 1 May 2006 21:27:30 +0000 (23:27 +0200)
xcbrandr.c

index f3d84e2..1fba5d4 100644 (file)
@@ -446,6 +446,7 @@ main (int argc, char **argv)
   XRRFreeScreenConfigInfo(sc);
 #endif
   free(sc);
-  free(c);
+  free(rr_version);
+  XCBDisconnect(c);
   return(0);
 }