char
basename[MagickPathExtent],
buffer[MagickPathExtent],
+ *escape,
date[MagickPathExtent],
**labels,
page_geometry[MagickPathExtent],
(void) CopyMagickString(create_date,value,MagickPathExtent);
(void) FormatMagickTime(time((time_t *) NULL),MagickPathExtent,timestamp);
url=GetMagickHomeURL();
+ escape=EscapeParenthesis(basename);
i=FormatLocaleString(xmp_profile,MagickPathExtent,XMPProfile,
- XMPProfileMagick,modify_date,create_date,timestamp,url,
- EscapeParenthesis(basename),url);
+ 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) FormatLocaleString(buffer,MagickPathExtent,"/ModDate (%s)\n",date);
(void) WriteBlobString(image,buffer);
url=GetMagickHomeURL();
- (void) FormatLocaleString(buffer,MagickPathExtent,"/Producer (%s)\n",
- EscapeParenthesis(url));
+ 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");