From 145d6c52d8c869010fe31d9e590ce3dac68b4eef Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 13 Sep 2014 22:15:30 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/lib/fake-quartz-cg.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/lib') diff --git a/src/lib/fake-quartz-cg.c b/src/lib/fake-quartz-cg.c index e52ef71..949ffac 100644 --- a/src/lib/fake-quartz-cg.c +++ b/src/lib/fake-quartz-cg.c @@ -371,13 +371,10 @@ uint32_t CGDisplayGammaTableCapacity(CGDirectDisplayID display) void close_fake_quartz_cg(void) { - free(res_reply); - res_reply = NULL; + free(res_reply), res_reply = NULL; if (connection != NULL) - xcb_disconnect(connection); - connection = NULL; - free(original_ramps); - original_ramps = NULL; + xcb_disconnect(connection), connection = NULL; + free(original_ramps), original_ramps = NULL; } #endif -- cgit v1.2.3-70-g09d2