lastfm/lastfm-desktop — pull request #1 by tdebaets (2012-08-18 19:45:30+00:00)
Title: Fix several memory leaks by using CComPtr/CComBSTR

It seems that the WMP Scrobbler plug-in doesn't release interface pointers returned by WMP. This can be done by explicitly calling Release() on the interface pointers, but instead I've used CComPtr wrappers which handle this for you.

The same applies to COM strings returned by WMP. Here, SysFreeString() should be called to release the strings, but I have again chosen for the wrapper approach (CComBSTR).