CLuaInstance: Fix segfault when hide() in CPictureDelete()

This commit is contained in:
M. Liebmann
2014-09-10 21:13:47 +02:00
parent 263e023879
commit dff6a6413d

View File

@@ -2150,7 +2150,7 @@ int CLuaInstance::CPictureDelete(lua_State *L)
CLuaPicture *m = CPictureCheck(L, 1); CLuaPicture *m = CPictureCheck(L, 1);
if (!m) return 0; if (!m) return 0;
m->cp->hide(); // m->cp->hide();
delete m; delete m;
return 0; return 0;
} }