From: Cristy Date: Wed, 28 Mar 2018 00:21:09 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/1063 X-Git-Tag: 7.0.7-29~284 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3137b3dabcb9031daa26b436f1310ad2d4c39d76;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/1063 --- diff --git a/coders/pdf.c b/coders/pdf.c index 0498d665d..6c61884e4 100644 --- a/coders/pdf.c +++ b/coders/pdf.c @@ -1454,7 +1454,6 @@ RestoreMSCWarning i=FormatLocaleString(xmp_profile,MagickPathExtent,XMPProfile, XMPProfileMagick,modify_date,create_date,timestamp,url,escape,url); escape=DestroyString(escape); - url=DestroyString(url); (void) FormatLocaleString(buffer,MagickPathExtent,"/Length %.20g\n", (double) i); (void) WriteBlobString(image,buffer); @@ -2982,7 +2981,6 @@ RestoreMSCWarning escape=EscapeParenthesis(url); (void) FormatLocaleString(buffer,MagickPathExtent,"/Producer (%s)\n",escape); escape=DestroyString(escape); - url=DestroyString(url); (void) WriteBlobString(image,buffer); (void) WriteBlobString(image,">>\n"); (void) WriteBlobString(image,"endobj\n");