Skip to content
Snippets Groups Projects
Commit b501b238 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard
Browse files

regedit: Free the value name buffer from the default value name parser state...

regedit: Free the value name buffer from the default value name parser state if necessary (Valgrind).

Signed-off-by: default avatarHugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 75e9f670
No related branches found
No related tags found
No related merge requests found
......@@ -699,6 +699,7 @@ static WCHAR *delete_key_state(struct parser *parser, WCHAR *pos)
/* handler for parser DEFAULT_VALUE_NAME state */
static WCHAR *default_value_name_state(struct parser *parser, WCHAR *pos)
{
HeapFree(GetProcessHeap(), 0, parser->value_name);
parser->value_name = NULL;
set_state(parser, DATA_START);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment