Fix some memleaks in alpm/add.c
commit37b5972212f9e5d08b28a47f2990ba2b102056da
authorNagy Gabor <ngaba@bibl.u-szeged.hu>
Tue, 15 Jul 2008 11:30:34 +0000 (15 13:30 +0200)
committerDan McGee <dan@archlinux.org>
Wed, 16 Jul 2008 00:13:30 +0000 (15 19:13 -0500)
tree95e6d6409e729ef8e4fded08a1fbfee6f6264ddc
parent17e9c9d9ff8b10f4fd82ba17ea968e071a273482
Fix some memleaks in alpm/add.c

In case of error some allocated memory wasn't freed in commit_single_pkg.
Note: The return value of this function is not used.

Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/add.c