[PATCH 1/6] wined3d: Don't leak the HDC of an invalid context in context_update_window().

Ken Thomases ken at codeweavers.com
Sun Mar 23 22:45:44 CDT 2014


If context_set_gl_context() fails, it marks the context as invalid.  It still
has an HDC, though, and context_update_window() would lose the reference to
it.
---
dlls/wined3d/context.c |    5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wined3d-Don-t-leak-the-HDC-of-an-invalid-context-in-.patch
Type: text/x-patch
Size: 704 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140323/28997aba/attachment.bin>


More information about the wine-patches mailing list