summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-10-26 12:15:07 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-10-26 12:16:01 +0300
commit6db697526b1c3bb72678c83c01abcdb0a26244b5 (patch)
treeeca37bcfd7e0d022510c87e9cf6c4e884d4a0150 /lib
parent3ff1f73efee857512a862ed674489da8067a7e79 (diff)
downloadlibrpm-tizen-6db697526b1c3bb72678c83c01abcdb0a26244b5.tar.gz
librpm-tizen-6db697526b1c3bb72678c83c01abcdb0a26244b5.tar.bz2
librpm-tizen-6db697526b1c3bb72678c83c01abcdb0a26244b5.zip
Remove transition-time leftover pool unfreezing
- Nobody is freezing our pool so there's no need to unfreeze it either...
Diffstat (limited to 'lib')
-rw-r--r--lib/depends.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/depends.c b/lib/depends.c
index 33a5346e9..7846c313a 100644
--- a/lib/depends.c
+++ b/lib/depends.c
@@ -102,10 +102,6 @@ static int removePackage(rpmts ts, Header h, rpmte depends)
if (tsmem->pool == NULL)
tsmem->pool = rpmstrPoolCreate();
- /* Ensure pool is writable */
- if (tsmem->addedPackages != NULL)
- rpmstrPoolUnfreeze(tsmem->pool);
-
p = rpmteNew(ts, h, TR_REMOVED, NULL, NULL);
if (p == NULL)
return 1;
@@ -415,10 +411,6 @@ int rpmtsAddInstallElement(rpmts ts, Header h,
if (tsmem->pool == NULL)
tsmem->pool = rpmstrPoolCreate();
- /* Ensure pool is writable */
- if (tsmem->addedPackages != NULL)
- rpmstrPoolUnfreeze(tsmem->pool);
-
p = rpmteNew(ts, h, TR_ADDED, key, relocs);
if (p == NULL) {
ec = 1;