index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <mcrae_allan@hotmail.com> | 2007-12-23 01:57:43 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-12-28 19:46:21 -0600 |
commit | 14d6832ef24aeda7fe77cf4285538baa6e21670c (patch) | |
tree | 5e2cb671385c34ede6281c70937c46f355071e14 /lib/libalpm/trans.c | |
parent | cca4ec647e6b5e1959206348360cc7412a5e8ed2 (diff) |
-rw-r--r-- | lib/libalpm/trans.c | 4 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 582c76b7..292c7160 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -342,7 +342,9 @@ int _alpm_trans_addtarget(pmtrans_t *trans, char *target) int _alpm_trans_prepare(pmtrans_t *trans, alpm_list_t **data) { - *data = NULL; + if(data) { + *data = NULL; + } ALPM_LOG_FUNC; |