From 3137b3dabcb9031daa26b436f1310ad2d4c39d76 Mon Sep 17 00:00:00 2001 From: Cristy Date: Tue, 27 Mar 2018 20:21:09 -0400 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/1063 --- coders/pdf.c | 2 -- 1 file changed, 2 deletions(-) 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"); -- 2.40.0