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-Jan-2010 04:47:49
  Branch: HEAD                             Handle: 2010010403474800

  Modified files:
    rpm                     CHANGES
    rpm/lib                 rpmchecksig.c

  Log:
    - sign: fix: add a killref to plug a header memory leak.

  Summary:
    Revision    Changes     Path
    1.3236      +1  -0      rpm/CHANGES
    1.236       +2  -0      rpm/lib/rpmchecksig.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.3235 -r1.3236 CHANGES
  --- rpm/CHANGES       3 Jan 2010 21:36:17 -0000       1.3235
  +++ rpm/CHANGES       4 Jan 2010 03:47:48 -0000       1.3236
  @@ -1,5 +1,6 @@
   
   5.2b1 -> 5.3a1
  +    - jbj: sign: fix: add a killref to plug a header memory leak.
       - jbj: tests: add a check-ACID target w db_tool coverage tests.
       - jbj: rpmdb: fix: reduce the scope of db->db_h caching optimization
        (multiple headerLoad's are avoided) so that non-existent secondary
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/lib/rpmchecksig.c
  ============================================================================
  $ cvs diff -u -r1.235 -r1.236 rpmchecksig.c
  --- rpm/lib/rpmchecksig.c     25 Dec 2009 16:19:25 -0000      1.235
  +++ rpm/lib/rpmchecksig.c     4 Jan 2010 03:47:48 -0000       1.236
  @@ -435,6 +435,8 @@
                goto exit;
            }
        }
  +     (void)headerFree(sigh);
  +     sigh = NULL;
   
        /* Append the header and archive from the temp file */
        /* ASSERT: fd == NULL && ofd != NULL */
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to