Memory leak in win32 FileChooser


#1

This comes at the request of a colleague:

Line 182, modules\juce_gui_basics\native\juce_win32_FileChooser.cpp
LPITEMIDLIST list = SHBrowseForFolder (&bi);

The object called list is never freed.


#2

Ah, good catch, thanks! Will sort that out…


#3

…erm… actually no: it’s freed right underneath, at line 192 (??)