[5/5] WineD3D: Manage private data in a wine linked list

Stefan Dösinger stefan at codeweavers.com
Wed May 9 12:56:34 CDT 2007


Am Mittwoch 09 Mai 2007 18:33 schrieb H. Verbeet:
> On 09/05/07, Stefan Dösinger <stefan at codeweavers.com> wrote:
> > Fixes an endless loop in the startup of Traffic Giant.
>
> Shouldn't you free the private data when the resource is destroyed?
> (MSDN claims you should).
Yes, this makes sense, especially since we allocate the memory for it. I'll 
write a test testing that with an IUnknown data storage.

(But this should go in a different patch, since the old code didn't free it 
either. The patch is just fixing the data structure, not the behavior)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070509/a0933e1a/attachment.pgp


More information about the wine-devel mailing list