wrlib: light changes to the code for ImageMagick
commit9a0c3ab737d737d9b2a8f50f1bcc7b370203bfa2
authorChristophe CURIS <christophe.curis@free.fr>
Thu, 8 May 2014 18:16:00 +0000 (8 20:16 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 8 May 2014 19:14:21 +0000 (8 20:14 +0100)
treea750da650ed90dbb0719610a429a36ebeb4a9e14
parentf17ec34ccea4108825769b78169b2f72cfae99fe
wrlib: light changes to the code for ImageMagick

- changed header used for MagickWand to the one specified in the online
documentation

- changed a comparison to 'MagickTrue' because its value does not allow a
compiler optimisation that would be expected in present case

- fixed potential crash, if loading with Magick fails it could return a
pointer to a de-allocated area

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
wrlib/load_magick.c