diff options
author | dscho <dscho> | 2003-07-29 15:02:33 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-07-29 15:02:33 +0000 |
commit | 964aa1628f2cc4fac17c22dc89fc2439bd87b00e (patch) | |
tree | fbb5a0eacfd5ab9f1c84a0825744b5e69364eba5 /rfb | |
parent | 9b46601daa37906feb3c2334200170e53486cdac (diff) | |
download | libvncserver-964aa1628f2cc4fac17c22dc89fc2439bd87b00e.zip libvncserver-964aa1628f2cc4fac17c22dc89fc2439bd87b00e.tar.gz |
further valgrinding showed leaked mallocs
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/rfb.h | 2 | ||||
-rw-r--r-- | rfb/rfbclient.h | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -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); |