Mismatched delete statement

This commit is contained in:
Michael Cook (mackal) 2016-05-06 23:14:48 -04:00
parent 47c9182ba3
commit 907bc68e1c

View File

@ -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);