* Source/GSImageMagickImageRep.m: Don't call DestroyImage on a

NULL image


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33541 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2011-07-13 03:34:38 +00:00
parent 237476cb79
commit bef9ca8b85
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-07-12 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSImageMagickImageRep.m: Don't call DestroyImage on a
NULL image
2011-07-12 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSImageMagickImageRep.m: Log warnings from ImageMagick

View file

@ -146,7 +146,10 @@
DestroyExceptionInfo(exception);
DestroyImageInfo(imageinfo);
DestroyImage(images);
if (images != NULL)
{
DestroyImage(images);
}
return reps;
}