urlmon/tests: Fix some leaks (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Jacek Caban<jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f59755755e
commit
f19fdad2ba
|
@ -8366,6 +8366,7 @@ static void test_IUri_GetPropertyLength(void) {
|
|||
/* Value may be unicode encoded */
|
||||
expectedValueW = a2w(prop.value);
|
||||
expectedLen = lstrlenW(expectedValueW);
|
||||
heap_free(expectedValueW);
|
||||
|
||||
/* This won't be necessary once GetPropertyLength is implemented. */
|
||||
receivedLen = -1;
|
||||
|
@ -11538,6 +11539,7 @@ static void test_IPersistStream(void)
|
|||
ok(hr == S_OK, "%d) Error creating uninitialized Uri: 0x%08x.\n", i, hr);
|
||||
hr = IUri_QueryInterface(uri, &IID_IMarshal, (void**)&marshal);
|
||||
ok(hr == S_OK, "%d) QueryInterface failed 0x%08x, expected S_OK.\n", i, hr);
|
||||
IUri_Release(uri);
|
||||
hr = IMarshal_UnmarshalInterface(marshal, stream, &IID_IUri, (void**)&uri);
|
||||
ok(hr == S_OK, "%d) UnmarshalInterface failed 0x%08x, expected S_OK.\n", i, hr);
|
||||
hr = IUri_GetRawUri(uri, &raw_uri);
|
||||
|
|
Loading…
Reference in New Issue