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
This commit is contained in:
tor%cs.brown.edu
2000-06-24 03:54:35 +00:00
parent f9fb471e4b
commit 875aaade38

View File

@@ -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);