Fix mismatch new/delete

This commit is contained in:
Michael Cook (mackal) 2016-05-16 23:47:01 -04:00
parent 046dfe3e12
commit 38af484368

View File

@ -749,7 +749,7 @@ void ClientList::SendWhoAll(uint32 fromid,const char* to, int16 admin, Who_All_S
//zoneserver_list.SendPacket(pack2); // NO NO NO WHY WOULD YOU SEND IT TO EVERY ZONE SERVER?!? //zoneserver_list.SendPacket(pack2); // NO NO NO WHY WOULD YOU SEND IT TO EVERY ZONE SERVER?!?
SendPacket(to,pack2); SendPacket(to,pack2);
safe_delete(pack2); safe_delete(pack2);
safe_delete(output); safe_delete_array(output);
} }
catch(...){ catch(...){
Log.Out(Logs::Detail, Logs::World_Server,"Unknown error in world's SendWhoAll (probably mem error), ignoring..."); Log.Out(Logs::Detail, Logs::World_Server,"Unknown error in world's SendWhoAll (probably mem error), ignoring...");