92f58fd292
- Update to 2.0.3 * More changes to libmng_types.h. - Cleanup spec file with spec-cleaner - Remove old obsolete/provide - Use %cmake macro when building - Remove no longer needed fix-header-include.patch OBS-URL: https://build.opensuse.org/request/show/304191 OBS-URL: https://build.opensuse.org/package/show/graphics/libmng?expand=0&rev=19
15 lines
521 B
Diff
15 lines
521 B
Diff
Index: libmng_zlib.c
|
|
===================================================================
|
|
--- libmng_zlib.c.orig
|
|
+++ libmng_zlib.c
|
|
@@ -163,6 +163,9 @@ mng_retcode mngzlib_inflateinit (mng_dat
|
|
#ifdef MNG_SUPPORT_TRACE
|
|
MNG_TRACE (pData, MNG_FN_ZLIB_INFLATEINIT, MNG_LC_START);
|
|
#endif
|
|
+
|
|
+ if (pData->bInflating) /* free the old zlib structures */
|
|
+ inflateEnd(&pData->sZlib);
|
|
/* initialize zlib structures and such */
|
|
iZrslt = inflateInit (&pData->sZlib);
|
|
|