summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-07-11 18:12:40 +0000
committerewt <devnull@localhost>1996-07-11 18:12:40 +0000
commit05fc349ebd0ec609a6d78e5397d8ead7658042cf (patch)
tree5567f4a22f8c1a7f930b350957669e14eae2caef /lib
parent383f9cb337f9d8be5cc3d22b76ae958726d2020a (diff)
downloadrpm-05fc349ebd0ec609a6d78e5397d8ead7658042cf.tar.gz
rpm-05fc349ebd0ec609a6d78e5397d8ead7658042cf.tar.bz2
rpm-05fc349ebd0ec609a6d78e5397d8ead7658042cf.zip
don't free lists never allocated!
CVS patchset: 788 CVS date: 1996/07/11 18:12:40
Diffstat (limited to 'lib')
-rw-r--r--lib/depends.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/depends.c b/lib/depends.c
index aae6df70b..d610a4f0d 100644
--- a/lib/depends.c
+++ b/lib/depends.c
@@ -100,9 +100,9 @@ void rpmdepUpgradePackage(rpmDependencies rpmdep, Header h) {
for (i = 0; i < matches.count; i++) {
rpmdepRemovePackage(rpmdep, matches.recs[i].recOffset);
}
- }
- freeDBIndexRecord(matches);
+ freeDBIndexRecord(matches);
+ }
}
void rpmdepAddPackage(rpmDependencies rpmdep, Header h) {