summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-09-13 11:18:23 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-09-13 11:18:56 +0300
commita03b78a8cd563335d546f8af849400078fea4999 (patch)
tree7bbeee3accb16484647fd9a71f9e2ff9e20827b4
parent9816b07560afa17f396467229cafd136fad46d61 (diff)
downloadrpm-a03b78a8cd563335d546f8af849400078fea4999.tar.gz
rpm-a03b78a8cd563335d546f8af849400078fea4999.tar.bz2
rpm-a03b78a8cd563335d546f8af849400078fea4999.zip
Put transaction element "self" dependency set into global pool too
-rw-r--r--lib/rpmte.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c
index 8e8505244..71542549c 100644
--- a/lib/rpmte.c
+++ b/lib/rpmte.c
@@ -243,7 +243,7 @@ static int addTE(rpmte p, Header h, fnpyKey key, rpmRelocation * relocs)
p->headerSize = headerSizeof(h, HEADER_MAGIC_NO);
/* XXX thisds not in global pool yet, but not strictly needed either */
- p->thisds = rpmdsThis(h, RPMTAG_PROVIDENAME, RPMSENSE_EQUAL);
+ p->thisds = rpmdsThisPool(tspool, h, RPMTAG_PROVIDENAME, RPMSENSE_EQUAL);
p->provides = rpmdsNewPool(tspool, h, RPMTAG_PROVIDENAME, 0);
p->requires = rpmdsNewPool(tspool, h, RPMTAG_REQUIRENAME, 0);
p->conflicts = rpmdsNewPool(tspool, h, RPMTAG_CONFLICTNAME, 0);