From 135767a93eb9cd4830352bd10aa46989843672c5 Mon Sep 17 00:00:00 2001 From: dscho Date: Fri, 14 Jan 2005 21:15:35 +0000 Subject: fix comment --- libvncserver/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libvncserver/main.c b/libvncserver/main.c index 7c29680..9340073 100644 --- a/libvncserver/main.c +++ b/libvncserver/main.c @@ -736,6 +736,8 @@ void rfbNewFramebuffer(rfbScreenInfoPtr screen, char *framebuffer, extern void TightCleanup(); #endif +/* hang up on all clients and free all reserved memory */ + void rfbScreenCleanup(rfbScreenInfoPtr screen) { rfbClientIteratorPtr i=rfbGetClientIterator(screen); @@ -747,7 +749,6 @@ void rfbScreenCleanup(rfbScreenInfoPtr screen) } rfbReleaseClientIterator(i); - /* TODO: hang up on all clients and free all reserved memory */ #define FREE_IF(x) if(screen->x) free(screen->x) FREE_IF(colourMap.data.bytes); FREE_IF(underCursorBuffer); -- cgit v1.2.1