Revision 7267c094 ui/vnc-auth-sasl.c

b/ui/vnc-auth-sasl.c
135 135
    }
136 136
    VNC_DEBUG("SASL client username %s\n", (const char *)val);
137 137

  
138
    vs->sasl.username = qemu_strdup((const char*)val);
138
    vs->sasl.username = g_strdup((const char*)val);
139 139

  
140 140
    if (vs->vd->sasl.acl == NULL) {
141 141
        VNC_DEBUG("no ACL activated, allowing access\n");

Also available in: Unified diff