Commit 135767a9 authored by dscho's avatar dscho

fix comment

parent a87e288f
...@@ -736,6 +736,8 @@ void rfbNewFramebuffer(rfbScreenInfoPtr screen, char *framebuffer, ...@@ -736,6 +736,8 @@ void rfbNewFramebuffer(rfbScreenInfoPtr screen, char *framebuffer,
extern void TightCleanup(); extern void TightCleanup();
#endif #endif
/* hang up on all clients and free all reserved memory */
void rfbScreenCleanup(rfbScreenInfoPtr screen) void rfbScreenCleanup(rfbScreenInfoPtr screen)
{ {
rfbClientIteratorPtr i=rfbGetClientIterator(screen); rfbClientIteratorPtr i=rfbGetClientIterator(screen);
...@@ -747,7 +749,6 @@ void rfbScreenCleanup(rfbScreenInfoPtr screen) ...@@ -747,7 +749,6 @@ void rfbScreenCleanup(rfbScreenInfoPtr screen)
} }
rfbReleaseClientIterator(i); rfbReleaseClientIterator(i);
/* TODO: hang up on all clients and free all reserved memory */
#define FREE_IF(x) if(screen->x) free(screen->x) #define FREE_IF(x) if(screen->x) free(screen->x)
FREE_IF(colourMap.data.bytes); FREE_IF(colourMap.data.bytes);
FREE_IF(underCursorBuffer); FREE_IF(underCursorBuffer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment