rbarkauskas@codeweavers.com writes:
@@ -766,6 +766,8 @@ DestroyCallback(IDirectDrawSurface7 *surf,
/* Destroy the surface */ while(ref) ref = IDirectDrawSurface7_Release(surf);
- ref = Impl->ref2;
- while(ref) ref = IDirectDrawSurface2_Release(&Impl->IDirectDrawSurface2_iface);
Ref counts should only be accessed through the interlocked functions.