From: Panu Matilainen Date: Thu, 13 Sep 2012 08:55:52 +0000 (+0300) Subject: Use transaction string pool for rpmlib() dependencies too X-Git-Tag: rpm-4.11.0-alpha~134 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26ae2e4390f4e03d70ee3b267a0735f1f2b1ef10;p=platform%2Fupstream%2Frpm.git Use transaction string pool for rpmlib() dependencies too - This wasn't possible with the former static rpmlib() dependency set as it would've kept the potentially huge global pool referenced throughout process lifetime. --- diff --git a/lib/depends.c b/lib/depends.c index f9d21c3..c100451 100644 --- a/lib/depends.c +++ b/lib/depends.c @@ -532,7 +532,7 @@ retry: */ if (dsflags & RPMSENSE_RPMLIB) { if (tsmem->rpmlib == NULL) - rpmdsRpmlib(&(tsmem->rpmlib), NULL); + rpmdsRpmlibPool(tsmem->pool, &(tsmem->rpmlib), NULL); if (tsmem->rpmlib != NULL && rpmdsSearch(tsmem->rpmlib, dep) >= 0) { rpmdsNotify(dep, "(rpmlib provides)", rc);