summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authordscho <dscho>2003-07-29 15:02:33 +0000
committerdscho <dscho>2003-07-29 15:02:33 +0000
commit964aa1628f2cc4fac17c22dc89fc2439bd87b00e (patch)
treefbb5a0eacfd5ab9f1c84a0825744b5e69364eba5 /rfb
parent9b46601daa37906feb3c2334200170e53486cdac (diff)
downloadlibvncserver-964aa1628f2cc4fac17c22dc89fc2439bd87b00e.zip
libvncserver-964aa1628f2cc4fac17c22dc89fc2439bd87b00e.tar.gz
further valgrinding showed leaked mallocs
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h2
-rw-r--r--rfb/rfbclient.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index fa66916..7acec11 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -635,6 +635,8 @@ extern Bool rfbSendRectEncodingTight(rfbClientPtr cl, int x,int y,int w,int h);
/* cursor.c */
typedef struct rfbCursor {
+ /* set this to true if LibVNCServer has to free this cursor */
+ Bool cleanup, cleanupSource, cleanupMask, cleanupRichSource;
unsigned char *source; /* points to bits */
unsigned char *mask; /* points to bits */
unsigned short width, height, xhot, yhot; /* metrics */
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index c08f3a5..d1b12dd 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -189,3 +189,4 @@ extern Bool SameMachine(int sock);
/* vncviewer.c */
rfbClient* rfbGetClient(int* argc,char** argv,int bitsPerSample,int samplesPerPixel,int bytesPerPixel);
Bool rfbInitClient(rfbClient* client,const char* vncServerHost,int vncServerPort);
+void rfbClientCleanup(rfbClient* client);
OpenPOWER on IntegriCloud