7 Nov
2005
7 Nov
'05
7:37 p.m.
Oliver Stieber <oliver_stieber(a)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? -- Alexandre Julliard julliard(a)winehq.org