oledb32/tests: Fix string leaks (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-12-17 08:16:13 +03:00 committed by Alexandre Julliard
parent 5825ad56f6
commit 1d52cfc47f
1 changed files with 2 additions and 0 deletions

View File

@ -3786,6 +3786,7 @@ static void test_converttonumeric(void)
todo_wine ok(dst_status == DBSTATUS_S_OK, "got %08x\n", dst_status);
todo_wine ok(dst_len == sizeof(dst), "got %ld\n", dst_len);
todo_wine test_numeric_val(&dst, &result5);
SysFreeString(bstr);
bstr = SysAllocString(largeW);
dst_status = 0;
@ -3798,6 +3799,7 @@ static void test_converttonumeric(void)
todo_wine ok(dst_status == DBSTATUS_S_OK, "got %08x\n", dst_status);
todo_wine ok(dst_len == sizeof(dst), "got %ld\n", dst_len);
todo_wine test_numeric_val(&dst, &result6);
SysFreeString(bstr);
}
START_TEST(convert)