]> git.proxmox.com Git - mirror_qemu.git/blobdiff - ui/vnc-tls.c
ui/vnc: Fix use of free() instead of g_free()
[mirror_qemu.git] / ui / vnc-tls.c
index ffbd1725a490fb21a8a21c5fcb0df96947c5f630..3aaa93928ad59fe8034d50fd3b1ea9c26034ce30 100644 (file)
@@ -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);
 }