From 72cfb823418afa03aeb4fbfd92a8cb9be580b247 Mon Sep 17 00:00:00 2001 From: "tor%cs.brown.edu" Date: Sat, 24 Jun 2000 03:54:35 +0000 Subject: [PATCH] Dangling symbol reference was causing problems with Tru64 and MacOS. Not in default build. --- modules/libimg/mng/mng_jpeg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/libimg/mng/mng_jpeg.c b/modules/libimg/mng/mng_jpeg.c index b0a2204fe9b9..f8e578462c7a 100644 --- a/modules/libimg/mng/mng_jpeg.c +++ b/modules/libimg/mng/mng_jpeg.c @@ -207,8 +207,10 @@ mng_retcode mngjpeg_cleanup (mng_datap pData) MNG_ERRORJ (pData, iRetcode) /* then IJG-lib issued an error */ #endif +#ifdef MNG_SUPPORT_WRITE if (pData->bJPEGcompress) /* still compressing something ? */ jpeg_destroy_compress (pData->pJPEGcinfo); +#endif if (pData->bJPEGdecompress) /* still decompressing something ? */ jpeg_destroy_decompress (pData->pJPEGdinfo);