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);
|
lstrcpyW(*line_buf + data_pos, newline);
|
||||||
if (value_multibyte)
|
HeapFree(GetProcessHeap(), 0, value_multibyte);
|
||||||
HeapFree(GetProcessHeap(), 0, value_multibyte);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user