mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
regedit: Remove NULL check before HeapFree (Smatch).
This commit is contained in:
parent
b1a54bf7a3
commit
c75a143f3d
@ -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);
|
||||
}
|
||||
|
||||
/******************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user