diff options
author | dscho <dscho> | 2003-08-08 11:36:21 +0000 |
---|---|---|
committer | dscho <dscho> | 2003-08-08 11:36:21 +0000 |
commit | 1fd42ce98cd082309f72467bee73a910c9662fc9 (patch) | |
tree | cfd4cc6d9037397a41f1e8579dd54d7c91d49a35 /main.c | |
parent | f9e179613f072e15cc7433bc96e38005c854b29f (diff) | |
download | libtdevnc-1fd42ce98cd082309f72467bee73a910c9662fc9.tar.gz libtdevnc-1fd42ce98cd082309f72467bee73a910c9662fc9.zip |
make --without-jpeg, --without-zlib work
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -719,7 +719,9 @@ void rfbNewFramebuffer(rfbScreenInfoPtr rfbScreen, char *framebuffer, rfbReleaseClientIterator(iterator); } +#ifdef LIBVNCSERVER_HAVE_LIBJPEG extern void TightCleanup(); +#endif void rfbScreenCleanup(rfbScreenInfoPtr rfbScreen) { @@ -740,7 +742,9 @@ void rfbScreenCleanup(rfbScreenInfoPtr rfbScreen) if(rfbScreen->cursor) rfbFreeCursor(rfbScreen->cursor); free(rfbScreen); +#ifdef LIBVNCSERVER_HAVE_LIBJPEG TightCleanup(); +#endif } void rfbInitServer(rfbScreenInfoPtr rfbScreen) |