vnc-tls: Clean up dead store in vnc_set_x509_credential()
PATCH 1/1 vnc-tls: Clean up dead store in vnc_set_x509_credential()
Signed-off-by Markus Armbruster <[email protected]>
--- ui/vnc-tls.c | 2 -- 1 file changed, 2 deletions(-)
ui/vnc-tls.c +0 -2
@@ -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);
Signature · 1 line
1.9.3
Quoted 10 lines · Markus Armbruster
Signed-off-by Markus Armbruster <[email protected]>--- ui/vnc-tls.c | 2 -- 1 file changed, 2 deletions(-)ui/vnc-tls.c +0
-0
ui/vnc-tls.c static int vnc_set_x509_credential(VncDisplay *vd, · line 449
Quoted 8 lines
ui/vnc-tls.c +0
-2@@ -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);
added to vnc patch queue
thanks,
Gerd