summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-06-13 11:42:46 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-06-13 11:42:46 +0300
commit973cff0efcd62856505ad123ac63bd693a1fd261 (patch)
tree728c6d2c725002af2c8dc5391e8831e38216da46 /lib
parentd23f3a67c73ff7789c4b6dea6f05f8b394abe3c6 (diff)
downloadrpm-973cff0efcd62856505ad123ac63bd693a1fd261.tar.gz
rpm-973cff0efcd62856505ad123ac63bd693a1fd261.tar.bz2
rpm-973cff0efcd62856505ad123ac63bd693a1fd261.zip
hfd with FORCEFREE is just _free()
Diffstat (limited to 'lib')
-rw-r--r--lib/psm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/psm.c b/lib/psm.c
index 4d2bf24e9..f7f7a9f15 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -234,7 +234,6 @@ rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd,
char * _sourcedir = NULL;
char * _specdir = NULL;
char * specFile = NULL;
- HFD_t hfd;
Header h = NULL;
struct rpmpsm_s psmbuf;
rpmpsm psm = &psmbuf;
@@ -289,7 +288,6 @@ rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd,
rpmteSetHeader(fi->te, fi->h);
fi->te->fd = fdLink(fd, RPMDBG_M("installSourcePackage"));
- hfd = fi->hfd;
(void) rpmInstallLoadMacros(fi, fi->h);
@@ -357,7 +355,7 @@ rpmRC rpmInstallSourcePackage(rpmts ts, FD_t fd,
size_t sourcelen = strlen(_sourcedir) + 2;
char * t;
- fi->dnl = hfd(fi->dnl, RPM_FORCEFREE_TYPE);
+ fi->dnl = _free(fi->dnl);
fi->dc = 2;
fi->dnl = xmalloc(fi->dc * sizeof(*fi->dnl)