1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00

delete fix

This commit is contained in:
scrawl 2012-03-26 20:29:07 +02:00
parent d993766ee1
commit 28dfba55e0

View File

@ -32,7 +32,7 @@ void LocalMap::deleteBuffers()
for (std::map<std::string, uint32*>::iterator it=mBuffers.begin(); for (std::map<std::string, uint32*>::iterator it=mBuffers.begin();
it != mBuffers.end(); ++it) it != mBuffers.end(); ++it)
{ {
delete it->second; delete[] it->second;
} }
mBuffers.clear(); mBuffers.clear();
} }