Fix crash under linux in Hamsandwich module

Fix crash under linux in Hamsandwich module
This commit is contained in:
Arkshine
2015-03-24 01:25:36 +01:00
parent a182ca62c8
commit b6febae2fa
4 changed files with 11 additions and 5 deletions

View File

@@ -89,12 +89,12 @@ public:
for (size_t i = 0; i < pre.length(); ++i)
{
delete pre.at(i);
pre.at(i)->Release();
}
for (size_t i = 0; i < post.length(); ++i)
{
delete post.at(i);
post.at(i)->Release();
}
pre.clear();