diff options
author | dscho <dscho> | 2001-10-16 20:57:26 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-10-16 20:57:26 +0000 |
commit | 2c4869fc9a8f2c72e6f8631b25894246a0a90701 (patch) | |
tree | e7396ef0a8a40c102bde4b490897204e368f233a /rfbserver.c | |
parent | 47f18e575da762733c19e9f499472ba42f478df8 (diff) | |
download | libtdevnc-2c4869fc9a8f2c72e6f8631b25894246a0a90701.tar.gz libtdevnc-2c4869fc9a8f2c72e6f8631b25894246a0a90701.zip |
deferUpdate
Diffstat (limited to 'rfbserver.c')
-rw-r--r-- | rfbserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rfbserver.c b/rfbserver.c index 3c3c858..a4decae 100644 --- a/rfbserver.c +++ b/rfbserver.c @@ -185,7 +185,7 @@ rfbNewTCPOrUDPClient(rfbScreen,sock,isUDP) int addrlen = sizeof(struct sockaddr_in); int i; - cl = (rfbClientPtr)malloc(sizeof(rfbClientRec)); + cl = (rfbClientPtr)calloc(sizeof(rfbClientRec),1); cl->screen = rfbScreen; cl->sock = sock; |