This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
MakeLogicalViewProvider holds MakeProject after closing it in IDE. The reason is the static fields private static Project currentProject = null; private static Folder currentFolder = null; which holds the hard references to the closed project. FindUsages shows, that this fields are only assigned, but never used => it is something like legacy or not cleaned up code. The fix is safe.
integrated fix with one comment. there is a call to getMakeConfigurationDescriptor().getLogicalFolders(); and result remembered in field which I removed. I don't know the side effect of calling of this method => I left the call while removed remembering in field (the reason of memory leak) cvs log: Checking in MakeLogicalViewProvider.java; /shared/data/ccvs/repository/cnd/makeproject/src/org/netbeans/modules/cnd/makeproject/ui/MakeLogicalViewProvider.java,v <-- MakeLogicalViewProvider.java new revision: 1.1.2.12.6.21; previous revision: 1.1.2.12.6.20 done