index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 22:06:31 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 22:06:31 +0000 |
commit | 04e195284e0439436143a297a561aef1a6c35b17 (patch) | |
tree | 9e52e8b8039246975bcdc13a6293d2a28886da0c /lib/libalpm/add.c | |
parent | 2b63d0103db404dd03def3b263c635b23eda065d (diff) |
-rw-r--r-- | lib/libalpm/add.c | 5 |
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 4d1bdd1f..c5745c30 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -311,8 +311,9 @@ int add_commit(pmdb_t *db, pmtrans_t *trans) /* Figure out whether this package was installed explicitly by the user * or installed as a dependency for another package */ - /* ORE info->reason = PM_PKG_REASON_EXPLICIT; + /* ORE + only relevant for sync operations? if(pm_list_is_strin(dependonly, info->data)) { info->reason = PM_PKG_REASON_DEPEND; }*/ @@ -343,7 +344,7 @@ int add_commit(pmdb_t *db, pmtrans_t *trans) for(lp = provides; lp; lp = lp->next) { lp->data = NULL; } - pm_list_free(provides); + FREELIST(provides); continue; } } else { |