Clear list after applying qDeleteAll

This commit is contained in:
LordGrey
2023-12-29 18:08:47 +01:00
parent e71185acd9
commit 40d74faa5e
3 changed files with 3 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ using namespace commandline;
Parser::~Parser()
{
qDeleteAll(_options);
_options.clear();
}
bool Parser::parse(const QStringList &arguments)