[PATCH 5/5] wined3d: Decrement the refcount in wined3d_query_decref().
Henri Verbeet
hverbeet at codeweavers.com
Wed Apr 13 12:14:34 CDT 2011
---
dlls/wined3d/query.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/query.c b/dlls/wined3d/query.c
index 368b030..1751609 100644
--- a/dlls/wined3d/query.c
+++ b/dlls/wined3d/query.c
@@ -241,7 +241,7 @@ ULONG CDECL wined3d_query_incref(struct wined3d_query *query)
ULONG CDECL wined3d_query_decref(struct wined3d_query *query)
{
- ULONG refcount = InterlockedIncrement(&query->ref);
+ ULONG refcount = InterlockedDecrement(&query->ref);
TRACE("%p decreasing refcount to %u.\n", query, refcount);
--
1.7.3.4
More information about the wine-patches
mailing list