dsound: Fix a memory leak in the tests.

Found by Valgrind.
This commit is contained in:
Huw Davies 2009-12-18 10:10:18 +00:00 committed by Alexandre Julliard
parent 839e487c84
commit 14fdced365
1 changed files with 1 additions and 0 deletions

View File

@ -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,