Module: wine Branch: master Commit: 14fdced3653da6d022200ae66b5e89e1f92a555e URL: http://source.winehq.org/git/wine.git/?a=commit;h=14fdced3653da6d022200ae66b...
Author: Huw Davies huw@codeweavers.com Date: Fri Dec 18 10:10:18 2009 +0000
dsound: Fix a memory leak in the tests.
Found by Valgrind.
---
dlls/dsound/tests/propset.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/dsound/tests/propset.c b/dlls/dsound/tests/propset.c index 70a8e0d..5007fcc 100644 --- a/dlls/dsound/tests/propset.c +++ b/dlls/dsound/tests/propset.c @@ -550,6 +550,7 @@ static void propset_private_tests(void) NULL, 0, &data, sizeof(data), &bytes); ok(rc==DS_OK, "Couldn't enumerate: 0x%x\n",rc); } + IKsPropertySet_Release(pps); }
static BOOL WINAPI dsenum_callback(LPGUID lpGuid, LPCSTR lpcstrDescription,