diff options
Diffstat (limited to 'examples/example.c')
-rw-r--r-- | examples/example.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/example.c b/examples/example.c index fc156c0..617e7ad 100644 --- a/examples/example.c +++ b/examples/example.c @@ -66,6 +66,7 @@ typedef struct ClientData { static void clientgone(rfbClientPtr cl) { free(cl->clientData); + cl->clientData = NULL; } static enum rfbNewClientAction newclient(rfbClientPtr cl) |