RPM Community Forums

Mailing List Message of <rpm-cvs>

[CVS] RPM: rpm/build/ files.c

From: Jeff Johnson <jbj@rpm5.org>
Date: Fri 17 Aug 2007 - 20:53:05 CEST
Message-Id: <20070817185305.6E14D348456@rpm5.org>
  RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  jbj@rpm5.org
  Module: rpm                              Date:   17-Aug-2007 20:53:05
  Branch: HEAD                             Handle: 2007081719530500

  Modified files:
    rpm/build               files.c

  Log:
    fix matchpathcon_init memleaks during build as well.

  Summary:
    Revision    Changes     Path
    1.260       +1  -0      rpm/build/files.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/build/files.c
  ============================================================================
  $ cvs diff -u -r1.259 -r1.260 files.c
  --- rpm/build/files.c	17 Aug 2007 00:13:56 -0000	1.259
  +++ rpm/build/files.c	17 Aug 2007 18:53:05 -0000	1.260
  @@ -1523,6 +1523,7 @@
   		freecon(scon);
   	}
       }
  +    matchpathcon_fini();
       sxfn = _free(sxfn);
   
       (void) headerAddEntry(h, RPMTAG_SIZE, RPM_INT32_TYPE,
  @@ .
Received on Fri Aug 17 20:53:05 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.