Introduce _alpm_pkg_free_trans()
commit19b8b638851713da64dd2aa7ff31e911ffe925cd
authorNagy Gabor <ngaba@bibl.u-szeged.hu>
Sun, 7 Jun 2009 12:30:11 +0000 (7 14:30 +0200)
committerDan McGee <dan@archlinux.org>
Sun, 7 Jun 2009 20:11:16 +0000 (7 15:11 -0500)
tree20ca058a5f6b1ffab444b0c09e98a85d16f09455
parente61ab1536f4b198ac5c62cf68d706d93bc6481be
Introduce _alpm_pkg_free_trans()

The main purpose of this function to make our code more readable.
It frees transaction specific fields of pmpkg_t. (It is used when a package
is removed from the target list.)

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