Removed unnecessary mallocs of temp buffers since we can just allocate statically what we know is the maximum ever needed for palettes, maps, etc...
Authored by: sumolx 2010-02-18
Parent: [r2700]
Child: [r2702]