index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-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; } } |