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
+2
View File
@@ -126,6 +126,8 @@ class WidgetFactory
registerWidget(this);
}
virtual ~WidgetFactory() {}
inline const char * getName() const
{
return name;