mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:50:44 +00:00
* 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:
parent
237476cb79
commit
bef9ca8b85
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -146,7 +146,10 @@
|
|||
|
||||
DestroyExceptionInfo(exception);
|
||||
DestroyImageInfo(imageinfo);
|
||||
DestroyImage(images);
|
||||
if (images != NULL)
|
||||
{
|
||||
DestroyImage(images);
|
||||
}
|
||||
|
||||
return reps;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue