FREE(unknownEncodingMem);
if (unknownEncodingRelease)
unknownEncodingRelease(unknownEncodingData);
- parserInit(parser, encodingName);
- dtdReset(&dtd, parser);
poolClear(&tempPool);
poolClear(&temp2Pool);
+ parserInit(parser, encodingName);
+ dtdReset(&dtd, parser);
return XML_TRUE;
}
static void
poolInit(STRING_POOL *pool, XML_Memory_Handling_Suite *ms)
{
- pool->blocks = 0;
- pool->freeBlocks = 0;
- pool->start = 0;
- pool->ptr = 0;
- pool->end = 0;
+ pool->blocks = NULL;
+ pool->freeBlocks = NULL;
+ pool->start = NULL;
+ pool->ptr = NULL;
+ pool->end = NULL;
pool->mem = ms;
}