From 907bc68e1c65142cc225708ade33ddbcca3c3afc Mon Sep 17 00:00:00 2001 From: "Michael Cook (mackal)" Date: Fri, 6 May 2016 23:14:48 -0400 Subject: [PATCH] Mismatched delete statement --- world/zonelist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/zonelist.cpp b/world/zonelist.cpp index 3332e0578..abd5c1057 100644 --- a/world/zonelist.cpp +++ b/world/zonelist.cpp @@ -598,7 +598,7 @@ void ZSList::RebootZone(const char* ip1,uint16 port,const char* ip2, uint32 skip iterator.Advance(); } if (y == 0) { - safe_delete(tmp); + safe_delete_array(tmp); return; } uint32 z = emu_random.Int(0, y-1);