summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/encodingstest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/encodingstest.c b/test/encodingstest.c
index c6c8255..715e887 100644
--- a/test/encodingstest.c
+++ b/test/encodingstest.c
@@ -172,6 +172,7 @@ static void* clientLoop(void* data) {
}
free(((clientData*)client->clientData)->display);
free(client->clientData);
+ client->clientData = NULL;
if(client->frameBuffer)
free(client->frameBuffer);
rfbClientCleanup(client);