From ae7cb65a969ffea23e9b36a5820ce952c6720e60 Mon Sep 17 00:00:00 2001 From: Aleos Date: Tue, 28 Aug 2018 19:22:41 -0400 Subject: [PATCH] Fixed a potential crash (#3439) * Fixes #3413 and fixes #3437. * Removed extra dynamic storage clearings. Thanks to @ecdarreola and @mazvi! --- src/map/map.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/map/map.cpp b/src/map/map.cpp index eff2ee2649..3baa0aa80f 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -2760,10 +2760,7 @@ int map_delinstancemap(int m) aFree(mapdata->block); aFree(mapdata->block_mob); map_free_questinfo(m); - mapdata->flag.clear(); - mapdata->drop_list.clear(); mapdata->damage_adjust = {}; - mapdata->skill_damage.clear(); mapindex_removemap( mapdata->index ); map_removemapdb(mapdata);