From fb81dee4c622298377e78270b839445df0144a73 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 2 Sep 2010 11:19:46 +0300 Subject: Eliminate freeNames() from librpmbuild ABI - Call freeNames() at end of buildSpec() instead of requiring API users to clean up after us. This does mean losing some of the supposed caching advantage when building on more than one spec, but hardly matters, one spec at a time is the typical build usage anyway. --- rpmbuild.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'rpmbuild.c') diff --git a/rpmbuild.c b/rpmbuild.c index 912c4b7d5..6f06b51f4 100644 --- a/rpmbuild.c +++ b/rpmbuild.c @@ -14,7 +14,6 @@ const char *__progname; #include #include #include "lib/signature.h" -#include "build/rpmbuild_misc.h" /* XXX freeNames() */ #include "cliutils.h" #include "debug.h" @@ -474,7 +473,6 @@ int main(int argc, char *argv[]) ts = rpmtsFree(ts); finishPipe(); - freeNames(); ba->buildRootOverride = _free(ba->buildRootOverride); ba->targets = _free(ba->targets); -- cgit v1.2.3