Hello community, here is the log from the commit of package libmng checked in at Fri Sep 29 17:51:09 CEST 2006. -------- --- libmng/libmng.changes 2006-01-25 21:37:33.000000000 +0100 +++ /mounts/work_src_done/STABLE/libmng/libmng.changes 2006-09-29 15:03:58.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Sep 29 15:03:49 CEST 2006 - dmueller@suse.de + +- fix memory leak + +------------------------------------------------------------------- New: ---- libmng-1.0.9-dont-leak-zlib-streams.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmng.spec ++++++ --- /var/tmp/diff_new_pack.xiKMS5/_old 2006-09-29 17:50:36.000000000 +0200 +++ /var/tmp/diff_new_pack.xiKMS5/_new 2006-09-29 17:50:36.000000000 +0200 @@ -1,11 +1,11 @@ # # spec file for package libmng (Version 1.0.9) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -16,15 +16,16 @@ Group: System/Libraries Summary: Library for Support of MNG and JNG Formats Version: 1.0.9 -Release: 2 +Release: 21 URL: http://www.libmng.com/ Source0: libmng-%version.tar.bz2 Patch: libmng.diff Patch2: libmng-no-jpeg.diff +Patch3: libmng-1.0.9-dont-leak-zlib-streams.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -This library can handle MNG and JNG formats which contain animated +This library can handle MNG and JNG formats that contain animated pictures. These formats should replace the GIF format. @@ -53,6 +54,7 @@ %prep %setup -q %patch +%patch3 %build make -f makefiles/makefile.linux _LIB=%_lib @@ -84,6 +86,8 @@ %_libdir/libmng.so %changelog -n libmng +* Fri Sep 29 2006 - dmueller@suse.de +- fix memory leak * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Fri Feb 04 2005 - adrian@suse.de ++++++ libmng-1.0.9-dont-leak-zlib-streams.diff ++++++ --- libmng_zlib.c +++ libmng_zlib.c @@ -162,6 +162,10 @@ #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); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@suse.de