fixed a crashbug when MAPLIST_FLAG_MAPSFOLDER was not present and all fallbacks failed
fixed a crashbug when MAPLIST_FLAG_MAPSFOLDER was not present and all fallbacks failed
1.1 --- a/core/smn_maplists.cpp Sun Dec 02 16:43:34 2007 +0000
1.2 +++ b/core/smn_maplists.cpp Sun Dec 02 16:47:10 2007 +0000
1.3 @@ -328,7 +328,7 @@
1.4 CellArray *UpdateMapList(CellArray *pUseArray, const char *name, int *pSerial, unsigned int flags)
1.5 {
1.6 int change_serial;
1.7 - CellArray *pNewArray;
1.8 + CellArray *pNewArray = NULL;
1.9 bool success, free_new_array;
1.10
1.11 free_new_array = false;