scripting, remove free

This commit is contained in:
iceman1001 2018-02-03 22:33:51 +01:00
commit 0234ca5654
3 changed files with 33 additions and 37 deletions

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");
}