diff options
author | jbj <devnull@localhost> | 2001-11-11 20:45:20 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-11-11 20:45:20 +0000 |
commit | 1eb0503123bfd829d5122e54353a000d89333a10 (patch) | |
tree | 5ecfd5f2ee435bf2e2ccffcfade0c5f6bfb40515 /build/spec.c | |
parent | ac9f0fea036a08c071d28d2056fc9646ec7e679c (diff) | |
download | librpm-tizen-1eb0503123bfd829d5122e54353a000d89333a10.tar.gz librpm-tizen-1eb0503123bfd829d5122e54353a000d89333a10.tar.bz2 librpm-tizen-1eb0503123bfd829d5122e54353a000d89333a10.zip |
Replace loadFi with fiNew, freeFi with fiFree.
CVS patchset: 5175
CVS date: 2001/11/11 20:45:20
Diffstat (limited to 'build/spec.c')
-rw-r--r-- | build/spec.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build/spec.c b/build/spec.c index a54efaebb..c57efb950 100644 --- a/build/spec.c +++ b/build/spec.c @@ -162,10 +162,12 @@ Package freePackage(Package pkg) if (pkg->cpioList) { TFI_t fi = pkg->cpioList; pkg->cpioList = NULL; - freeFi(fi); + fi = fiFree(fi, 1); +#ifdef DYING /*@-refcounttrans@*/ /* FIX: fi needs to be only */ fi = _free(fi); /*@=refcounttrans@*/ +#endif } pkg->specialDoc = freeStringBuf(pkg->specialDoc); @@ -510,10 +512,12 @@ Spec freeSpec(Spec spec) if (spec->sourceCpioList) { TFI_t fi = spec->sourceCpioList; spec->sourceCpioList = NULL; - freeFi(fi); + fi = fiFree(fi, 1); +#ifdef DYING /*@-refcounttrans@*/ /* FIX: fi needs to be only */ fi = _free(fi); /*@=refcounttrans@*/ +#endif } spec->buildRestrictions = headerFree(spec->buildRestrictions, "spec->>buildRestrictions"); |