diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/fake-quartz-cg.c | 9 |
1 files changed, 3 insertions, 6 deletions
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 |