mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CLuaInstance: Fix segfault when hide() in CPictureDelete()
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user