Commit 5d1c75f0 authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #2090 from jolting/patch-1

[gssapi] memory allocation mismatch on windows
parents 7f8a1da3 fd758d72
......@@ -181,7 +181,7 @@ int zmq::gssapi_mechanism_base_t::decode_message (msg_t *msg_)
memcpy (msg_->data (), static_cast <char *> (plaintext.value)+1, plaintext.length-1);
gss_release_buffer (&min_stat, &plaintext);
gss_release_buffer (&min_stat, &wrapped);
free(wrapped.value);
if (bytes_left > 0) {
errno = EPROTO;
......
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