diff options
author | dscho <dscho> | 2002-04-25 13:41:52 +0000 |
---|---|---|
committer | dscho <dscho> | 2002-04-25 13:41:52 +0000 |
commit | efa12fa978ca10c329e4cb14fefa597a6d93f2e8 (patch) | |
tree | 5ee9b933785b16c810a3ba5962afb4f7596cbd58 /cursor.c | |
parent | 160c85f4ecd37b9ab046403e0bc1b5f834a9c3d4 (diff) | |
download | libvncserver-efa12fa978ca10c329e4cb14fefa597a6d93f2e8.zip libvncserver-efa12fa978ca10c329e4cb14fefa597a6d93f2e8.tar.gz |
memleaks patched
Diffstat (limited to 'cursor.c')
-rw-r--r-- | cursor.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -272,6 +272,8 @@ char* rfbMakeMaskForXCursor(int width,int height,char* source) void rfbFreeCursor(rfbCursorPtr cursor) { if(cursor) { + if(cursor->richSource) + free(cursor->richSource); free(cursor->source); free(cursor->mask); free(cursor); |