From 1d2a76f23984205f3717980ed3b8134f0be17bd7 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 20 Jan 2017 11:48:59 +0100 Subject: Free some one time alloc of the UI (cleaner valgrind output) No incremental leaks here.. * downcase (const char*) uses strdup, caller needs to free * free allocated cursors when the editor is destroyed * drop static editor lua-instance & bindings * delete allocated gtk image/icons --- gtk2_ardour/luainstance.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk2_ardour/luainstance.h') diff --git a/gtk2_ardour/luainstance.h b/gtk2_ardour/luainstance.h index 4291732097..cad533e753 100644 --- a/gtk2_ardour/luainstance.h +++ b/gtk2_ardour/luainstance.h @@ -79,6 +79,7 @@ class LuaInstance : public PBD::ScopedConnectionList, public ARDOUR::SessionHand { public: static LuaInstance* instance(); + static void destroy_instance(); ~LuaInstance(); static void register_classes (lua_State* L); -- cgit v1.2.3