webfs: fix memory leak of serverName in tlswrap()
This commit is contained in:
parent
93a86cea66
commit
9ba04fd030
1 changed files with 0 additions and 1 deletions
|
@ -84,7 +84,6 @@ tlswrap(int fd, char *servername)
|
|||
conn.serverName = smprint("%N", servername);
|
||||
if((fd = tlsClient(fd, &conn)) < 0){
|
||||
if(debug) fprint(2, "tlsClient: %r\n");
|
||||
return -1;
|
||||
}
|
||||
free(conn.cert);
|
||||
free(conn.sessionID);
|
||||
|
|
Loading…
Reference in a new issue