Oliver Stieber oliver_stieber@yahoo.co.uk writes:
@@ -142,9 +142,10 @@ FIXME("(%p) call to IWineD3DDevice_CreateQuery failed\n", This); HeapFree(GetProcessHeap(), 0, object); *ppQuery = NULL;
- } else {
- } else if (ppQuery != NULL) { *ppQuery = (LPDIRECT3DQUERY9) object; }
That doesn't look right. Who's going to free the object if you don't return it?