Commit 342451b2 authored by Tomas Vanek's avatar Tomas Vanek Committed by Alexandre Julliard

Fixed no memory condition test in IDirectSoundImpl_Create.

parent a4d4d197
......@@ -787,7 +787,7 @@ HRESULT WINAPI IDirectSoundImpl_Create(
/* Allocate memory */
pDS = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(IDirectSoundImpl));
if (ppDS == NULL) {
if (pDS == NULL) {
WARN("out of memory\n");
*ppDS = NULL;
return DSERR_OUTOFMEMORY;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment