diff options
author | Dan McGee <dan@archlinux.org> | 2007-04-26 21:08:34 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-04-28 02:59:58 -0400 |
commit | a3491224df3209563b68cc45b9b2d8ab747d208a (patch) | |
tree | 46f0b25b5c457479cc937e10957562ce751cd9fd /lib/libalpm/be_files.c | |
parent | 0984dab1f2b7beae455518b06aa5675890e01d9c (diff) | |
download | pacman-a3491224df3209563b68cc45b9b2d8ab747d208a.tar.xz |
Remove FREEPKG macro and correctly type _alpm_pkg_free
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_files.c')
-rw-r--r-- | lib/libalpm/be_files.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c index 045424c0..8c0b3d69 100644 --- a/lib/libalpm/be_files.c +++ b/lib/libalpm/be_files.c @@ -189,7 +189,7 @@ pmpkg_t *_alpm_db_scan(pmdb_t *db, const char *target) /* explicitly read with only 'BASE' data, accessors will handle the rest */ if(_alpm_db_read(db, pkg, INFRQ_BASE) == -1) { /* TODO removed corrupt entry from the FS here */ - FREEPKG(pkg); + _alpm_pkg_free(pkg); } else { pkg->data = db; pkg->origin = PKG_FROM_CACHE; |