(detected with Purify on Windows XP) must be:
static LZWInfo *RelinquishLZWInfo(LZWInfo *lzw_info)
{
lzw_info->stack->codes=(unsigned long *) RelinquishMagickMemory(lzw_info->stack->codes);
lzw_info->stack=(LZWStack *) RelinquishMagickMemory(lzw_info->stack);
lzw_info=(LZWInfo *) RelinquishMagickMemory(lzw_info);
return((LZWInfo *) NULL);
}
instead of:
static LZWInfo *RelinquishLZWInfo(LZWInfo *lzw_info)
{
lzw_info->stack=(LZWStack *) RelinquishMagickMemory(lzw_info->stack);
lzw_info=(LZWInfo *) RelinquishMagickMemory(lzw_info);
return((LZWInfo *) NULL);
}