IDE: add words from current unit to identifier completion list: fix memory leak

git-svn-id: trunk@58138 -
This commit is contained in:
ondrej 2018-06-05 14:02:18 +00:00
parent 122947fc29
commit a9731bdd6d

View File

@ -1666,6 +1666,7 @@ begin
FreeThenNil(SearchResultsView);
FreeThenNil(ObjectInspector1);
FreeThenNil(SourceEditorManagerIntf);
FreeAndNil(FIdentCompletionWords);
// disconnect handlers
Application.RemoveAllHandlersOfObject(Self);