summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTORRI Vincent <torri@doursse.(none)>2006-05-01 23:27:30 +0200
committerTORRI Vincent <torri@doursse.(none)>2006-05-01 23:27:30 +0200
commit49361ce98be74eb66766175e93565f106ec2a8c2 (patch)
tree4560078f675b141adce8404b9eb67eb068d2b317
parent2120cf1d6ee5e27a3d5b6c686d5fb7c55474a63f (diff)
Use XCBDisconnect and not free on a connection. Free a reply
-rw-r--r--xcbrandr.c3
1 files changed, 2 insertions, 1 deletions
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);
}