diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-10 21:57:04 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-10 21:57:04 +0200 |
commit | 96399ca27c075339791a088feb80e03f9f3587d1 (patch) | |
tree | ffad2ffb2b2ac2228b0a8b805192bcbc4457e3c0 /src/gammad.c | |
parent | m (diff) | |
download | coopgammad-96399ca27c075339791a088feb80e03f9f3587d1.tar.gz coopgammad-96399ca27c075339791a088feb80e03f9f3587d1.tar.bz2 coopgammad-96399ca27c075339791a088feb80e03f9f3587d1.tar.xz |
Work on marshalling
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/gammad.c')
-rw-r--r-- | src/gammad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gammad.c b/src/gammad.c index c04ba5d..fca9079 100644 --- a/src/gammad.c +++ b/src/gammad.c @@ -194,7 +194,6 @@ int main(int argc, char** argv) gerror = libgamma_crtc_set_gamma_ramps##SUFFIX(outputs[i].crtc, outputs[i].saved_ramps.MEMBER); \ if (gerror) \ libgamma_perror(argv0, gerror); \ - libgamma_gamma_ramps##SUFFIX##_destroy(&(outputs[i].saved_ramps.MEMBER)); \ } \ while (0) if (crtcs != NULL) @@ -224,6 +223,7 @@ int main(int argc, char** argv) default: break; /* impossible */ } + output_destroy(outputs + i); libgamma_crtc_destroy(crtcs + i); } free(crtcs); |