Fixed a potential crash (#3439)
* Fixes #3413 and fixes #3437. * Removed extra dynamic storage clearings. Thanks to @ecdarreola and @mazvi!
This commit is contained in:
parent
f14885bc9b
commit
ae7cb65a96
@ -2760,10 +2760,7 @@ int map_delinstancemap(int m)
|
|||||||
aFree(mapdata->block);
|
aFree(mapdata->block);
|
||||||
aFree(mapdata->block_mob);
|
aFree(mapdata->block_mob);
|
||||||
map_free_questinfo(m);
|
map_free_questinfo(m);
|
||||||
mapdata->flag.clear();
|
|
||||||
mapdata->drop_list.clear();
|
|
||||||
mapdata->damage_adjust = {};
|
mapdata->damage_adjust = {};
|
||||||
mapdata->skill_damage.clear();
|
|
||||||
|
|
||||||
mapindex_removemap( mapdata->index );
|
mapindex_removemap( mapdata->index );
|
||||||
map_removemapdb(mapdata);
|
map_removemapdb(mapdata);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user