index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-07-16 19:05:33 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-08-08 10:41:14 +1000 |
commit | 48f4efd9a18966509bd599684e77d3ad49d5b082 (patch) | |
tree | dce7c2e8ecf0d9ba28fbd4f7c463561344eadc52 /src | |
parent | ccd3a3eb9fad7b4c311a6bfb57b69a7a1a13c46a (diff) |
-rw-r--r-- | src/pacman/conf.c | 2 |
diff --git a/src/pacman/conf.c b/src/pacman/conf.c index e1997435..738b0261 100644 --- a/src/pacman/conf.c +++ b/src/pacman/conf.c @@ -801,9 +801,9 @@ static int setup_libalpm(void) pm_printf(ALPM_LOG_DEBUG, "parsed assume installed: %s %s\n", dep->name, dep->version); ret = alpm_option_add_assumeinstalled(handle, dep); + alpm_dep_free(dep); if(ret) { pm_printf(ALPM_LOG_ERROR, _("Failed to pass %s entry to libalpm"), "assume-installed"); - alpm_dep_free(dep); return ret; } } |