Fix some leaks (#863)

This commit is contained in:
Murat Seker
2020-07-12 09:22:05 +02:00
committed by GitHub
parent dd98e245fe
commit 69561aea9d
7 changed files with 23 additions and 14 deletions

View File

@@ -4,6 +4,11 @@
using namespace commandline;
Parser::~Parser()
{
qDeleteAll(_options);
}
bool Parser::parse(const QStringList &arguments)
{
if (!_parser.parse(arguments))