summaryrefslogtreecommitdiff
path: root/lib/rpmal.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2001-11-11 20:45:20 +0000
committerjbj <devnull@localhost>2001-11-11 20:45:20 +0000
commit1eb0503123bfd829d5122e54353a000d89333a10 (patch)
tree5ecfd5f2ee435bf2e2ccffcfade0c5f6bfb40515 /lib/rpmal.c
parentac9f0fea036a08c071d28d2056fc9646ec7e679c (diff)
downloadlibrpm-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 'lib/rpmal.c')
-rw-r--r--lib/rpmal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpmal.c b/lib/rpmal.c
index 4f274d65c..d26e9e97b 100644
--- a/lib/rpmal.c
+++ b/lib/rpmal.c
@@ -222,7 +222,7 @@ availableList alFree(availableList al)
if ((alp = al->list) != NULL)
for (i = 0; i < al->size; i++, alp++) {
alp->provides = dsFree(alp->provides);
- alp->fns = fnsFree(alp->fns);
+ alp->fns = fiFree(alp->fns, 1);
}
if ((die = al->dirs) != NULL)
@@ -358,7 +358,7 @@ fprintf(stderr, "*** del %p[%d]\n", al->list, pkgNum);
}
alp->provides = dsFree(alp->provides);
- alp->fns = fnsFree(alp->fns);
+ alp->fns = fiFree(alp->fns, 1);
memset(alp, 0, sizeof(*alp)); /* XXX trash and burn */
/*@-nullstate@*/ /* FIX: al->list->h may be NULL */