mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
delete fix
This commit is contained in:
parent
d993766ee1
commit
28dfba55e0
@ -32,7 +32,7 @@ void LocalMap::deleteBuffers()
|
||||
for (std::map<std::string, uint32*>::iterator it=mBuffers.begin();
|
||||
it != mBuffers.end(); ++it)
|
||||
{
|
||||
delete it->second;
|
||||
delete[] it->second;
|
||||
}
|
||||
mBuffers.clear();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user