- fix: duplicate headerFree() on installBinaryPackage() error return.
authorjbj <devnull@localhost>
Sun, 12 Nov 2000 19:33:07 +0000 (19:33 +0000)
committerjbj <devnull@localhost>
Sun, 12 Nov 2000 19:33:07 +0000 (19:33 +0000)
CVS patchset: 4263
CVS date: 2000/11/12 19:33:07

CHANGES
lib/install.c

diff --git a/CHANGES b/CHANGES
index edcae51..8c64350 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -30,6 +30,7 @@
        - add region marker as RPM_BIN_TYPE in packages and database.
        - fix: don't headerCopy() relocateable packages if not relocating.
        - fine-grained Requires, remove install PreReq's from Requires db.
+       - fix: duplicate headerFree() on installBinaryPackage() error return.
 
 3.0.6 -> 4.0
        - use DIRNAMES/BASENAMES/DIRINDICES not FILENAMES in packages and db.
index a9222cd..ab09021 100644 (file)
@@ -1238,8 +1238,6 @@ exit:
     }
     if (fileMem)
        freeFileMemory(fileMem);
-    if (rc)
-       headerFree(h);
     if (oldH)
        headerFree(oldH);
     return rc;