Commit f93fa488 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Albert Astals Cid

Fix build without libtiff

Bug #104813
parent f65f60e5
......@@ -24,6 +24,7 @@
// Copyright (C) 2013 Thomas Fischer <fischer@unix-ag.uni-kl.de>
// Copyright (C) 2013 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2017 Caolán McNamara <caolanm@redhat.com>
// Copyright (C) 2018 Andreas Gruenbacher <agruenba@redhat.com>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
......@@ -651,9 +652,9 @@ void ImageOutputDev::writeImage(GfxState *state, Object *ref, Stream *str,
}
writeImageFile(writer, format, "tif", str, width, height, colorMap);
#endif
delete writer;
delete writer;
#endif
} else {
// output in PPM/PBM format
ImgWriter *writer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment