]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 21 Jun 2015 20:05:04 +0000 (20:05 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 21 Jun 2015 20:05:04 +0000 (20:05 +0000)
MagickCore/xml-tree.c

index 1a7e57449eb546435eef6efe7ef8dce1e4d1f931..1b7c664027d2ff0a097dc7de9ffbb112c5aa84c4 100644 (file)
@@ -1668,7 +1668,7 @@ static void ParseProcessingInstructions(XMLTreeRoot *root,char *xml,
     ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
   root->processing_instructions[i][j+2]=(char *) ResizeQuantumMemory(
     root->processing_instructions[i][j+1],(size_t) (j+1),
-    sizeof(*root->processing_instructions));
+    sizeof(**root->processing_instructions));
   if (root->processing_instructions[i][j+2] == (char *) NULL)
     ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
   (void) CopyMagickString(root->processing_instructions[i][j+2]+j-1,