index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/trans.c | 3 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 7a91cb9b..e4ab72bf 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -66,8 +66,7 @@ void trans_free(pmtrans_t *trans) if(trans->type == PM_TRANS_TYPE_SYNC) { PMList *i; for(i = trans->packages; i; i = i->next) { - sync_free(i->data); - i->data = NULL; + FREESYNC(i->data); } FREELIST(trans->packages); FREELIST(trans->skiplist); |