]> granicus.if.org Git - imagemagick/commitdiff
https://github.com/ImageMagick/ImageMagick/issues/1063
authorCristy <urban-warrior@imagemagick.org>
Wed, 28 Mar 2018 00:21:09 +0000 (20:21 -0400)
committerCristy <urban-warrior@imagemagick.org>
Wed, 28 Mar 2018 00:21:09 +0000 (20:21 -0400)
coders/pdf.c

index 0498d665d7fd0a3eea4f082c0538ec5b430e96aa..6c61884e416fe583afbca05a6075e064637f809a 100644 (file)
@@ -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");