[Github-comments] [geany] Fix known memory leak in win32_show_folder_dialog() (#812)

Matthew Brush notifications at xxxxx
Sun Dec 13 23:35:40 UTC 2015


This is almost too trivial to make a PR but I'm no expert in Win32 COM and maybe I missed something (or the original author just missed something).

According to the [MSDN docs](https://msdn.microsoft.com/en-us/library/windows/desktop/bb762115%28v=vs.85%29.aspx):

> It is the responsibility of the calling application to call CoTaskMemFree to free the IDList returned by SHBrowseForFolder when it is no longer needed.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/812

-- Commit Summary --

  * Fix known memory leak in win32_show_folder_dialog()

-- File Changes --

    M src/win32.c (6)

-- Patch Links --

https://github.com/geany/geany/pull/812.patch
https://github.com/geany/geany/pull/812.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/812
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20151213/729dfbee/attachment.html>


More information about the Github-comments mailing list