mirror of
https://github.com/mii443/qemu.git
synced 2025-08-31 11:29:26 +00:00
Use glib memory allocation and free functions
qemu_malloc/qemu_free no longer exist after this commit. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
@ -135,7 +135,7 @@ static int vnc_auth_sasl_check_access(VncState *vs)
|
||||
}
|
||||
VNC_DEBUG("SASL client username %s\n", (const char *)val);
|
||||
|
||||
vs->sasl.username = qemu_strdup((const char*)val);
|
||||
vs->sasl.username = g_strdup((const char*)val);
|
||||
|
||||
if (vs->vd->sasl.acl == NULL) {
|
||||
VNC_DEBUG("no ACL activated, allowing access\n");
|
||||
|
Reference in New Issue
Block a user