From 86a9369c04029e542a7faaf00477491c03b6afaa Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 2 Dec 2007 16:47:10 +0000 Subject: [PATCH] fixed a crashbug when MAPLIST_FLAG_MAPSFOLDER was not present and all fallbacks failed --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401753 --- core/smn_maplists.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/smn_maplists.cpp b/core/smn_maplists.cpp index 27dd4971..bb2b38a5 100644 --- a/core/smn_maplists.cpp +++ b/core/smn_maplists.cpp @@ -328,7 +328,7 @@ public: CellArray *UpdateMapList(CellArray *pUseArray, const char *name, int *pSerial, unsigned int flags) { int change_serial; - CellArray *pNewArray; + CellArray *pNewArray = NULL; bool success, free_new_array; free_new_array = false;