Commit 9d64fab4 authored by Markus Armbruster's avatar Markus Armbruster Committed by Gerd Hoffmann
Browse files

vnc-tls: Clean up dead store in vnc_set_x509_credential()

parent 86152436
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -444,8 +444,6 @@ static int vnc_set_x509_credential(VncDisplay *vd,
    struct stat sb;

    g_free(*cred);
    *cred = NULL;

    *cred = g_malloc(strlen(certdir) + strlen(filename) + 2);

    strcpy(*cred, certdir);