Commit e9358909 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

msvcrt: Restore a stack mark on error (Coverity).

parent 8953e8d7
......@@ -539,8 +539,10 @@ static char* get_template_name(struct parsed_symbol* sym)
struct array array_pmt;
sym->names.start = sym->names.num;
if (!(name = get_literal_string(sym)))
if (!(name = get_literal_string(sym))) {
sym->names.start = start_mark;
return FALSE;
}
str_array_init(&array_pmt);
args = get_args(sym, &array_pmt, FALSE, '<', '>');
if (args != NULL)
......
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