forked from qt-creator/qt-creator
ClangdFollowSymbol: Don't leak ClangdFollowSymbol::Private
Change-Id: Ic8486d832084ae700322f0696d7b7321f0daf35f Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -195,6 +195,7 @@ ClangdFollowSymbol::~ClangdFollowSymbol()
|
|||||||
d->client->cancelRequest(id);
|
d->client->cancelRequest(id);
|
||||||
for (const MessageId &id : qAsConst(d->pendingGotoDefRequests))
|
for (const MessageId &id : qAsConst(d->pendingGotoDefRequests))
|
||||||
d->client->cancelRequest(id);
|
d->client->cancelRequest(id);
|
||||||
|
delete d;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ClangdFollowSymbol::clear()
|
void ClangdFollowSymbol::clear()
|
||||||
|
Reference in New Issue
Block a user