Commit b14172cc authored by Nikolai Kosjar's avatar Nikolai Kosjar

CppEditor: Fix leaking AssistInterface VirtualFunctionsAssistProcessor.

Change-Id: Ic53d1ba92a5ca396055f4727839a89835d881e8d
Reviewed-by: default avatarChristian Stenger <>
Reviewed-by: default avatarDavid Schulz <>
parent ece3f97f
......@@ -143,8 +143,10 @@ public:
return new VirtualFunctionProposal(m_params.cursorPosition, items, m_params.openInNextSplit);
IAssistProposal *perform(const AssistInterface *) QTC_OVERRIDE
IAssistProposal *perform(const AssistInterface *assistInterface) QTC_OVERRIDE
delete assistInterface;
QTC_ASSERT(m_params.function, return 0);
QTC_ASSERT(m_params.staticClass, return 0);
QTC_ASSERT(!m_params.snapshot.isEmpty(), return 0);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment