From: cristy Date: Fri, 18 Nov 2011 12:49:55 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6630 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1956650fed750e6abfc50296b7d3275434bcd874;p=imagemagick --- diff --git a/MagickCore/configure.c b/MagickCore/configure.c index 9fc26f02d..ac41efc49 100644 --- a/MagickCore/configure.c +++ b/MagickCore/configure.c @@ -581,10 +581,11 @@ MagickExport LinkedListInfo *GetConfigureOptions(const char *filename, blob=(char *) NTResourceToBlob(filename); if (blob != (char *) NULL) { - xml=StringToStringInfo(blob); + xml=AcquireStringInfo(0); + xml->length=strlen(blob)+1; + xml->datum=(unsigned char *) blob; SetStringInfoPath(xml,filename); (void) AppendValueToLinkedList(options,xml); - blob=DestroyString(blob); } } #endif