mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 08:45:34 +00:00
delete fix
This commit is contained in:
parent
d993766ee1
commit
28dfba55e0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue