projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fafd809
)
Dont bother taking ds reference on obsoletes, we dont do it elsewhere either
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 19 Mar 2010 07:32:17 +0000
(09:32 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 19 Mar 2010 07:32:17 +0000
(09:32 +0200)
lib/depends.c
patch
|
blob
|
history
diff --git
a/lib/depends.c
b/lib/depends.c
index
77c3622
..
f04761f
100644
(file)
--- a/
lib/depends.c
+++ b/
lib/depends.c
@@
-287,8
+287,7
@@
addheader:
}
mi = rpmdbFreeIterator(mi);
- obsoletes = rpmdsLink(rpmteDS(p, RPMTAG_OBSOLETENAME), RPMDBG_M("Obsoletes"));
- obsoletes = rpmdsInit(obsoletes);
+ obsoletes = rpmdsInit(rpmteDS(p, RPMTAG_OBSOLETENAME));
while (rpmdsNext(obsoletes) >= 0) {
const char * Name;
@@
-325,7
+324,6
@@
addheader:
}
mi = rpmdbFreeIterator(mi);
}
- obsoletes = rpmdsFree(obsoletes);
ec = 0;