From 875aaade38533a2db9fee2f28704452e817d2e9d 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. git-svn-id: svn://10.0.0.236/trunk@73157 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/libimg/mng/mng_jpeg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/modules/libimg/mng/mng_jpeg.c b/mozilla/modules/libimg/mng/mng_jpeg.c index b0a2204fe9b..f8e578462c7 100644 --- a/mozilla/modules/libimg/mng/mng_jpeg.c +++ b/mozilla/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);