[7858] Properly deallocate memory in tile assembler, and dereference memory when...
commit6540d8a4cb4e35ec7689897bda59d4f7c88b6a81
authorraczman <raczman@getmangos.com>
Wed, 20 May 2009 11:36:02 +0000 (20 15:36 +0400)
committerVladimirMangos <vladimir@getmangos.com>
Wed, 20 May 2009 11:42:41 +0000 (20 15:42 +0400)
treed7b2d4f7275823832644af5bf22548619fd7baab
parentbf8b49270b17de72e2830b2b29fe7c962467582d
[7858] Properly deallocate memory in tile assembler, and dereference memory when fread fails.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Thanks to ANTOMA for prepering patch to mangos.
I also change code to more nice view using temporary defines.
src/shared/revision_nr.h
src/shared/vmap/TileAssembler.cpp