d3d9: Don't release the parent device before destroying its children

Henri Verbeet hverbeet at gmail.com
Mon Sep 28 09:51:41 CDT 2009


2009/9/28 Allan Tong <actong88 at gmail.com>:
> I assume this was done to avoid referencing freed memory, but I'm not
> sure if there was any other reason for this.
>
Not referencing potentially freed memory was the only reason.

> Note that this patch only changes d3d9.
>
Could you write one for d3d8 as well? Otherwise I'll send one tomorrow.



More information about the wine-devel mailing list