[PATCH] ddraw: Avoid break in __TRY blocks.

Stefan Dösinger stefandoesinger at gmx.at
Tue Feb 14 16:34:53 CST 2017


> Am 14.02.2017 um 22:29 schrieb Alex Henrie <alexhenrie24 at gmail.com>:
> 
> Yes, I'll look into it. Sorry for not noticing the leak before.
Please port the test to ddraw2-7 as well, and in ddraw4 and ddraw7 test the IDirectDraw4/7 refcount after the create call that fails because of the invalid pointer. Windows might leak a reference. (If it does, I don’t think we want to upstream the test, but document this behaviour in a comment)

What happens if you have a create failure like DDERR_NOCOOPERATIVELEVELSET and an invalid pointer?




More information about the wine-devel mailing list