dlls/shell32/pidl.c

Ge van Geldorp gvg at reactos.com
Mon Aug 15 06:39:39 CDT 2005


> From: Michael Jung
> 
> SHBindToParent does not allocate a 
> new PIDL for pidlLast, but returns a pointer to right 
> location in pidl. This means you should not free it. 
> There's still the problem that the shell folder isn't 
> released in failure cases.
> 
> Sorry, I didn't realize this.

I feel a bit silly for not catching it either. MSDN is very clear about
this. I've resubmitted a patch which only releases the interface pointer.

Gé van Geldorp.





More information about the wine-devel mailing list