From: cristy Date: Sat, 26 Sep 2009 01:13:32 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~10628 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5856753db3ea052348bcd6e04813eb2bfe1d02c3;p=imagemagick --- diff --git a/coders/tiff.c b/coders/tiff.c index f55bfd4cb..0638faac6 100644 --- a/coders/tiff.c +++ b/coders/tiff.c @@ -2024,9 +2024,7 @@ static MagickBooleanType WritePTIFImage(const ImageInfo *image_info, /* Write pyramid-encoded TIFF image. */ - write_info=CloneImageInfo((Image *) NULL); - (void) CopyMagickString(write_info->filename,image_info->filename, - MaxTextExtent); + write_info=CloneImageInfo(image_info); *write_info->magick='\0'; write_info->adjoin=MagickTrue; status=WriteTIFFImage(write_info,GetFirstImageInList(images));