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

Origin commit data
------------------
Branch: ni/coolstream
Commit: dff6a6413d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-09-10 (Wed, 10 Sep 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2014-09-10 21:13:47 +02:00
parent c484e28dc2
commit 36f5269b55

View File

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