dsound: Fix a memory leak in the tests.
Found by Valgrind.
This commit is contained in:
parent
839e487c84
commit
14fdced365
|
@ -550,6 +550,7 @@ static void propset_private_tests(void)
|
||||||
NULL, 0, &data, sizeof(data), &bytes);
|
NULL, 0, &data, sizeof(data), &bytes);
|
||||||
ok(rc==DS_OK, "Couldn't enumerate: 0x%x\n",rc);
|
ok(rc==DS_OK, "Couldn't enumerate: 0x%x\n",rc);
|
||||||
}
|
}
|
||||||
|
IKsPropertySet_Release(pps);
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL WINAPI dsenum_callback(LPGUID lpGuid, LPCSTR lpcstrDescription,
|
static BOOL WINAPI dsenum_callback(LPGUID lpGuid, LPCSTR lpcstrDescription,
|
||||||
|
|
Loading…
Reference in New Issue