Commit 28851700 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

reg: Free szValue after deleting all registry values (Coverity).

parent cedd95e2
......@@ -481,6 +481,7 @@ static int reg_delete(HKEY root, WCHAR *path, WCHAR *key_name, WCHAR *value_name
}
else break;
}
HeapFree(GetProcessHeap(), 0, szValue);
}
else if (value_name || value_empty)
{
......
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