[PATCH] oledb32/tests: Fix string leaks (Valgrind).
Nikolay Sivov
nsivov at codeweavers.com
Sun Dec 16 23:16:13 CST 2018
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/oledb32/tests/convert.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/oledb32/tests/convert.c b/dlls/oledb32/tests/convert.c
index 441624048a..5dab9ff31e 100644
--- a/dlls/oledb32/tests/convert.c
+++ b/dlls/oledb32/tests/convert.c
@@ -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)
--
2.19.2
More information about the wine-devel
mailing list