From 654a3ec500f2bcb227c2c81a756947fe5d8504d4 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Wed, 7 Nov 2012 15:15:10 +0100 Subject: [PATCH] msvcp90: Destroy string returned by basic_stringbuf_char_str_get. --- dlls/msvcp90/tests/ios.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/msvcp90/tests/ios.c b/dlls/msvcp90/tests/ios.c index 4370f0efe84..4875e85ca61 100644 --- a/dlls/msvcp90/tests/ios.c +++ b/dlls/msvcp90/tests/ios.c @@ -1094,6 +1094,7 @@ static void test_num_put_put_double(void) str = call_func1(p_basic_string_char_cstr, &pstr); ok(!strcmp(tests[i].str, str), "wrong output, expected = %s found = %s\n", tests[i].str, str); + call_func1(p_basic_string_char_dtor, &pstr); if(tests[i].lcl) call_func1(p_locale_dtor, &lcl); @@ -1120,6 +1121,7 @@ static void test_num_put_put_double(void) AtoW(wide, tests[i].str, strlen(tests[i].str)); ok(!lstrcmpW(wide, wstr), "wrong output, expected = %s found = %s\n", tests[i].str, wine_dbgstr_w(wstr)); + call_func1(p_basic_string_wchar_dtor, &pwstr); if(tests[i].lcl) call_func1(p_locale_dtor, &lcl);