Commit c75a143f authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

regedit: Remove NULL check before HeapFree (Smatch).

parent b1a54bf7
......@@ -993,8 +993,7 @@ static void REGPROC_export_binary(WCHAR **line_buf, DWORD *line_buf_size, DWORD
}
}
lstrcpyW(*line_buf + data_pos, newline);
if (value_multibyte)
HeapFree(GetProcessHeap(), 0, value_multibyte);
HeapFree(GetProcessHeap(), 0, value_multibyte);
}
/******************************************************************************
......
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