summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/po
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2009-03-07 16:25:29 +0100
committerDan McGee <dan@archlinux.org>2009-04-11 20:55:46 +0200
commit634304feae6574d42e069a6718621cf2852f08ab (patch)
tree027a089850199370ea8d25094f51d1b4a194f2d0 /lib/libalpm/po
parent56fd24ecf8b75904444f548488fbe96185cf2492 (diff)
downloadpacman-634304feae6574d42e069a6718621cf2852f08ab.tar.gz
pacman-634304feae6574d42e069a6718621cf2852f08ab.tar.xz
Free *data list when user removes unresolvable packages
Resolvedeps reports error when it cannot resolve some dependencies, puts them into the *data list, and set pm_errno. If user removes the unresolvable packages from the target list, we have no error anymore, so from now on we free *data list (we eliminate a memleak) and unset pm_errno. (Additionally I removed two needless lines from the code, unresolvable list is always freed in cleanup.) Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/po')
0 files changed, 0 insertions, 0 deletions