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));
 }