From: Cristy Date: Sat, 24 Aug 2019 22:55:15 +0000 (-0400) Subject: ... X-Git-Tag: 7.0.8-63~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=673f565845fb68a6910fbffa5ba2213c1d59fe49;p=imagemagick ... --- diff --git a/coders/url.c b/coders/url.c index 64cdeba09..7ab270536 100644 --- a/coders/url.c +++ b/coders/url.c @@ -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); }