forked from qt-creator/qt-creator
ClangTools: Fix leaking text marks
Amends e7781e2a99
Change-Id: Ibb2da756023d985786ffab3fbbfae7d1bee5c346
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -60,7 +60,10 @@ DocumentClangToolRunner::DocumentClangToolRunner(IDocument *document)
|
||||
run();
|
||||
}
|
||||
|
||||
DocumentClangToolRunner::~DocumentClangToolRunner() = default;
|
||||
DocumentClangToolRunner::~DocumentClangToolRunner()
|
||||
{
|
||||
qDeleteAll(m_marks);
|
||||
}
|
||||
|
||||
FilePath DocumentClangToolRunner::filePath() const
|
||||
{
|
||||
|
Reference in New Issue
Block a user