RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: rpm Date: 04-Aug-2013 20:38:40 Branch: rpm-5_4 Handle: 2013080418384000 Modified files: (Branch: rpm-5_4) rpm/rpmio rpmpbzip2.c Log: - coverity #1060678. Summary: Revision Changes Path 1.9.6.1 +2 -1 rpm/rpmio/rpmpbzip2.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmio/rpmpbzip2.c ============================================================================ $ cvs diff -u -r1.9 -r1.9.6.1 rpmpbzip2.c --- rpm/rpmio/rpmpbzip2.c 16 Mar 2009 00:04:29 -0000 1.9 +++ rpm/rpmio/rpmpbzip2.c 4 Aug 2013 18:38:40 -0000 1.9.6.1 @@ -507,6 +507,7 @@ if (_nblocks <= 1) { if (zq->verbosity > 0) fprintf(stderr, "Switching to no threads mode: only 1 BZIP2 block found.\n"); + b = _free(b); goto exit; } @@ -1857,7 +1858,7 @@ /* XXX add POPT_ARG_TIMEOFDAY oneshot? */ xx = gettimeofday(&z->start, NULL); /* starting time for log entries */ #if defined(PBZIP_DEBUG) || defined(__LCLINT__) - zlog = rpmzLogInit(&z->start); /* initialize logging */ + zlog = rpmzLogNew(&z->start); /* initialize logging */ #endif hw_init(z); @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org