Fixed memory leak: widget factories need to be deleted

in opentxClose()
This commit is contained in:
Raphael Coeffic
2021-06-12 07:38:31 +02:00
parent c37bc91475
commit 78915daf95
4 changed files with 17 additions and 0 deletions
+3
View File
@@ -187,6 +187,9 @@ void registerBitmapClass(lua_State * L);
void luaSetInstructionsLimit(lua_State* L, int count);
int luaLoadScriptFileToState(lua_State * L, const char * filename, const char * mode);
// Unregister LUA widget factories
void luaUnregisterWidgets();
#if LCD_W > 350
#define RADIO_TOOL_NAME_MAXLEN 40
#else