summaryrefslogtreecommitdiffstats
path: root/libvncserver/main.c
diff options
context:
space:
mode:
authordscho <dscho>2005-01-14 21:15:35 +0000
committerdscho <dscho>2005-01-14 21:15:35 +0000
commit135767a93eb9cd4830352bd10aa46989843672c5 (patch)
tree8779417ca16cece159cbda2cef70548884d23445 /libvncserver/main.c
parenta87e288f099d8aa08e1a205772ddb38782ca4be5 (diff)
downloadlibtdevnc-135767a93eb9cd4830352bd10aa46989843672c5.tar.gz
libtdevnc-135767a93eb9cd4830352bd10aa46989843672c5.zip
fix comment
Diffstat (limited to 'libvncserver/main.c')
-rw-r--r--libvncserver/main.c3
1 files changed, 2 insertions, 1 deletions
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);