Re: [d3d9] allow NULL ppQuery to be passed to CreateQuery
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
7341
Age (days ago)
7341
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard