diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-13 22:15:30 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-13 22:15:30 +0200 |
commit | 145d6c52d8c869010fe31d9e590ce3dac68b4eef (patch) | |
tree | 0068891a49cfc0292cbb2205b9c699efc4a5e7c2 /src/lib | |
parent | doc (diff) | |
download | libgamma-145d6c52d8c869010fe31d9e590ce3dac68b4eef.tar.gz libgamma-145d6c52d8c869010fe31d9e590ce3dac68b4eef.tar.bz2 libgamma-145d6c52d8c869010fe31d9e590ce3dac68b4eef.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/lib')
-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 |