aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-13 22:15:30 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-13 22:15:30 +0200
commit145d6c52d8c869010fe31d9e590ce3dac68b4eef (patch)
tree0068891a49cfc0292cbb2205b9c699efc4a5e7c2
parentdoc (diff)
downloadlibgamma-145d6c52d8c869010fe31d9e590ce3dac68b4eef.tar.gz
libgamma-145d6c52d8c869010fe31d9e590ce3dac68b4eef.tar.bz2
libgamma-145d6c52d8c869010fe31d9e590ce3dac68b4eef.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/lib/fake-quartz-cg.c9
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