index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/trans.c | 4 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index c89abe69..b71d2fae 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -56,8 +56,10 @@ pmtrans_t *_alpm_trans_new() return(trans); } -void _alpm_trans_free(pmtrans_t *trans) +void _alpm_trans_free(void *data) { + pmtrans_t *trans = data; + if(trans == NULL) { return; } |