summaryrefslogtreecommitdiff
path: root/rpmbuild.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-02 11:19:46 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-02 11:19:46 +0300
commitfb81dee4c622298377e78270b839445df0144a73 (patch)
treeb69797f835127b6e283cdfdeaef09f1e8b43f76d /rpmbuild.c
parent3c7d4f89bb68d68b9d775fc6623c3f1c342ac0bd (diff)
downloadlibrpm-tizen-fb81dee4c622298377e78270b839445df0144a73.tar.gz
librpm-tizen-fb81dee4c622298377e78270b839445df0144a73.tar.bz2
librpm-tizen-fb81dee4c622298377e78270b839445df0144a73.zip
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.
Diffstat (limited to 'rpmbuild.c')
-rw-r--r--rpmbuild.c2
1 files changed, 0 insertions, 2 deletions
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 <rpm/rpmps.h>
#include <rpm/rpmts.h>
#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);