Commit 47fe5317 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

kernel32: Free the right variable (Coverity).

parent 8ea62f2e
......@@ -1290,7 +1290,7 @@ static BOOL delete_section( const WCHAR *filename, const WCHAR *section )
{
if (!(path = get_key_value( subkey, entry )))
{
HeapFree( GetProcessHeap(), 0, path );
HeapFree( GetProcessHeap(), 0, entry );
continue;
}
......
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