diff options
Diffstat (limited to 'lib/libalpm/trans.c')
-rw-r--r-- | lib/libalpm/trans.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index fd0814e6..ed357ade 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -69,11 +69,12 @@ void trans_free(pmtrans_t *trans) FREESYNC(i->data); } FREELIST(trans->packages); - FREELIST(trans->skiplist); } else { FREELISTPKGS(trans->packages); } + FREELIST(trans->skiplist); + free(trans); } |