[Spice-devel] [PATCH spice-server 06/11] red-stream: Remove SASL "data" field leak
Christophe Fergeau
cfergeau at redhat.com
Tue Dec 19 16:14:23 UTC 2017
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
On Mon, Dec 11, 2017 at 10:28:03AM +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> server/red-stream.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/server/red-stream.c b/server/red-stream.c
> index 45e92a57..5ddf8c54 100644
> --- a/server/red-stream.c
> +++ b/server/red-stream.c
> @@ -357,6 +357,7 @@ void red_stream_free(RedStream *s)
> g_free(s->priv->sasl.mechlist);
> g_free(s->priv->sasl.mechname);
> s->priv->sasl.mechlist = NULL;
> + g_free(s->priv->sasl.data);
> sasl_dispose(&s->priv->sasl.conn);
> s->priv->sasl.conn = NULL;
> }
> --
> 2.14.3
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20171219/a60e6c5e/attachment.sig>
More information about the Spice-devel
mailing list