]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Fri, 13 Jun 2014 18:35:43 +0000 (18:35 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Fri, 13 Jun 2014 18:35:43 +0000 (18:35 +0000)
MagickCore/locale.c

index 44c7b1256319fc0565c6169f84f08dbf41e205da..c0111e53528f3bf7ad42b08157bc690f52aa3159 100644 (file)
@@ -849,8 +849,8 @@ MagickExport LinkedListInfo *GetLocaleOptions(const char *filename,
         xml=AcquireStringInfo(0);
         SetStringInfoLength(xml,strlen(blob)+1);
         SetStringInfoDatum(xml,(const unsigned char *) blob);
+        blob=(char *) RelinquishMagickMemory(blob);
         SetStringInfoPath(xml,filename);
-        blob=(char *)RelinquishMagickMemory(blob);
         (void) AppendValueToLinkedList(messages,xml);
       }
   }