From ae878b172e8fe4a4237874de2d3bb879699d8af5 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 7 Oct 2011 21:15:20 +0200 Subject: ui/vnc: Fix use of free() instead of g_free() Please note that mechlist still uses malloc / strdup / free. Signed-off-by: Stefan Weil Signed-off-by: Anthony Liguori --- ui/vnc-tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/vnc-tls.c') diff --git a/ui/vnc-tls.c b/ui/vnc-tls.c index ffbd172..3aaa939 100644 --- a/ui/vnc-tls.c +++ b/ui/vnc-tls.c @@ -413,7 +413,7 @@ void vnc_tls_client_cleanup(struct VncState *vs) vs->tls.session = NULL; } vs->tls.wiremode = VNC_WIREMODE_CLEAR; - free(vs->tls.dname); + g_free(vs->tls.dname); } -- cgit v1.1