diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-06-13 11:42:46 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-06-13 11:42:46 +0300 |
commit | 973cff0efcd62856505ad123ac63bd693a1fd261 (patch) | |
tree | 728c6d2c725002af2c8dc5391e8831e38216da46 /lib | |
parent | d23f3a67c73ff7789c4b6dea6f05f8b394abe3c6 (diff) | |
download | rpm-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.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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) |