Henri Verbeet : wined3d: Decrement the refcount in wined3d_query_decref().
Alexandre Julliard
julliard at winehq.org
Thu Apr 14 11:58:20 CDT 2011
Module: wine
Branch: master
Commit: be378c6529f7aefdbef47aa26276485f9f197781
URL: http://source.winehq.org/git/wine.git/?a=commit;h=be378c6529f7aefdbef47aa26276485f9f197781
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Wed Apr 13 19:14:34 2011 +0200
wined3d: Decrement the refcount in wined3d_query_decref().
---
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);
More information about the wine-cvs
mailing list