scripting, remove free

This commit is contained in:
iceman1001 committed 2018-02-03 22:33:51 +01:00
1 parent 8a49cb84a2
commit 0234ca5654
3 files changed
+33 -37

No files matched your search

-3
View File
@@ -466,9 +466,6 @@ static int l_reveng_models(lua_State *L){
int ans = GetModels(models, &count, width);
if (!ans) {
for (int i =0; i<102; i++) {
free(models[i]);
}
return returnToLuaWithError(L, "Didn't find any models");
}