summaryrefslogtreecommitdiffstats
path: root/libvncserver/tightvnc-filetransfer/rfbtightserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncserver/tightvnc-filetransfer/rfbtightserver.c')
-rw-r--r--libvncserver/tightvnc-filetransfer/rfbtightserver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvncserver/tightvnc-filetransfer/rfbtightserver.c b/libvncserver/tightvnc-filetransfer/rfbtightserver.c
index e2c6594..a24666b 100644
--- a/libvncserver/tightvnc-filetransfer/rfbtightserver.c
+++ b/libvncserver/tightvnc-filetransfer/rfbtightserver.c
@@ -464,10 +464,10 @@ rfbTightProcessArg(int argc, char *argv[]) {
void
rfbHandleSecTypeTight(rfbClientPtr cl) {
- rfbLog("tightvnc-filetransfer/rfbHandleSecTypeTight\n");
-
rfbTightClientPtr rtcp = (rfbTightClientPtr) malloc(sizeof(rfbTightClientRec));
+ rfbLog("tightvnc-filetransfer/rfbHandleSecTypeTight\n");
+
if(rtcp == NULL) {
/* Error condition close socket */
rfbLog("Memory error has occured while handling "