]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 24 Aug 2019 22:55:15 +0000 (18:55 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 24 Aug 2019 22:55:15 +0000 (18:55 -0400)
coders/url.c

index 64cdeba090d936bc44e17e6d2f78c25852c63cf7..7ab270536efb5a52a8b2723cb4eba2993abab1c1 100644 (file)
@@ -222,18 +222,6 @@ static Image *ReadURLImage(const ImageInfo *image_info,ExceptionInfo *exception)
       ThrowFileException(exception,FileOpenError,"UnableToOpenFile",
         filename);
       (void) RelinquishUniqueFileResource(read_info->filename);
-      (void) CopyMagickString(read_info->filename,image->filename,
-        MagickPathExtent);
-      (void) SetImageInfo(read_info,1,exception);
-      if (images != (Image *) NULL)
-        for (next=images; next != (Image *) NULL; next=next->next)
-        {
-          (void) CopyMagickString(next->filename,image->filename,
-            MagickPathExtent);
-          (void) CopyMagickString(next->magick,read_info->magick,
-            MagickPathExtent);
-        }
-      read_info=DestroyImageInfo(read_info);
       image=DestroyImage(image);
       return((Image *) NULL);
     }