mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +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();
|
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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user