commit | b43db67a244a36b7523f145e5caf9ab891925171 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Tue Nov 09 15:23:30 2010 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Tue Nov 09 15:23:30 2010 +0000 |
tree | 7f726aa9c78b103df10ff3464838b0a1c1d87762 | |
parent | c150a9095a1ea2196a06a11dfdeae4d02b5d44d3 [diff] [blame] |
diff --git a/coders/psd.c b/coders/psd.c index 6264641..211d429 100644 --- a/coders/psd.c +++ b/coders/psd.c
@@ -1408,7 +1408,7 @@ (void) NegateImage(image,MagickFalse); if ((number_layers == 1) && (image->next != (Image *) NULL) && (image->matte != MagickFalse)) - image->next=DestroyImage(image->next); + DeleteImageFromList(&image); (void) CloseBlob(image); return(GetFirstImageInList(image)); }