diff options
author | Vic Lee <llyzs@163.com> | 2010-01-01 12:02:30 +0800 |
---|---|---|
committer | Johannes Schindelin <johannes.schindelin@gmx.de> | 2010-01-01 17:39:00 +0100 |
commit | b019572e73be8f861626943ced1a9e48ebeba838 (patch) | |
tree | 335514f9bb6725744af859a1142435011a9ad5b7 /libvncclient/vncviewer.c | |
parent | a795da8d7ba2a0cc2cd1ea841ecf1dbe60bb1953 (diff) | |
download | libtdevnc-b019572e73be8f861626943ced1a9e48ebeba838.tar.gz libtdevnc-b019572e73be8f861626943ced1a9e48ebeba838.zip |
Add support for viewers to select security types on demand
Signed-off-by: Vic Lee <llyzs@163.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'libvncclient/vncviewer.c')
-rw-r--r-- | libvncclient/vncviewer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c index 0361827..111a7f6 100644 --- a/libvncclient/vncviewer.c +++ b/libvncclient/vncviewer.c @@ -192,6 +192,7 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel, #endif client->sock = -1; client->listenSock = -1; + client->clientAuthSchemes = NULL; return client; } @@ -341,5 +342,7 @@ void rfbClientCleanup(rfbClient* client) { close(client->listenSock); free(client->desktopName); free(client->serverHost); + if (client->clientAuthSchemes) + free(client->clientAuthSchemes); free(client); } |