mirror of https://github.com/mamba-org/mamba.git
build: Remove another uninitialized variable in curl handler (#3678)
Signed-off-by: dann frazier <dann.frazier@chainguard.dev>
This commit is contained in:
parent
693ee82c7b
commit
bb38a698cf
|
@ -250,6 +250,7 @@ namespace mamba::download
|
|||
{
|
||||
rhs.m_handle = nullptr;
|
||||
rhs.p_headers = nullptr;
|
||||
std::fill(m_errorbuffer.begin(), m_errorbuffer.end(), '\0');
|
||||
std::swap(m_errorbuffer, rhs.m_errorbuffer);
|
||||
set_opt(CURLOPT_ERRORBUFFER, m_errorbuffer.data());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue