From dff6a6413dd88d10a25d97ed16de5f088152f33b Mon Sep 17 00:00:00 2001 From: "M. Liebmann" Date: Wed, 10 Sep 2014 21:13:47 +0200 Subject: [PATCH] CLuaInstance: Fix segfault when hide() in CPictureDelete() --- src/gui/luainstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/luainstance.cpp b/src/gui/luainstance.cpp index 226667295..4fe489c53 100644 --- a/src/gui/luainstance.cpp +++ b/src/gui/luainstance.cpp @@ -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; }