Code: Select all
for (i=0; root->processing_instructions[i] != (char **) NULL; i++)
{
for (j=0; root->processing_instructions[i][j] != (char *) NULL; j++)
root->processing_instructions[i][j]=DestroyString(
root->processing_instructions[i][j]);
root->processing_instructions[i][j+1]=DestroyString(
root->processing_instructions[i][j+1]);
[b] root->processing_instructions[i]=(char **) RelinquishMagickMemory(
root->processing_instructions[i]);[/b]
}
[b] if (root->processing_instructions[0] != (char **) NULL)[/b]
root->processing_instructions=(char ***) RelinquishMagickMemory(
root->processing_instructions);