Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
135767a9
Commit
135767a9
authored
Jan 14, 2005
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix comment
parent
a87e288f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
main.c
libvncserver/main.c
+2
-1
No files found.
libvncserver/main.c
View file @
135767a9
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment