Commit 654a3ec5 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcp90: Destroy string returned by basic_stringbuf_char_str_get.

parent 9b0ce65b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment