regedit: Remove NULL check before HeapFree (Smatch).

This commit is contained in:
Michael Stefaniuc 2008-11-25 10:12:56 +01:00 committed by Alexandre Julliard
parent b1a54bf7a3
commit c75a143f3d
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
/******************************************************************************