[Spice-devel] [PATCH spice-server 02/16] red-stream: Remove SASL "data" field leak
Frediano Ziglio
fziglio at redhat.com
Thu Dec 14 10:07:34 UTC 2017
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 45e92a57b..5ddf8c54c 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
More information about the Spice-devel
mailing list