diff options
author | Judd Vinet <judd@archlinux.org> | 2005-10-09 06:25:04 +0200 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-10-09 06:25:04 +0200 |
commit | 9a4719d3c5e7d75fda485e3251edba0fb96b5b27 (patch) | |
tree | 0469027ce92c651b555940501f9d90535d5853ee | |
parent | 995057bcdab99a581af7a6a10e58ac5f41a83275 (diff) | |
download | pacman-9a4719d3c5e7d75fda485e3251edba0fb96b5b27.tar.gz pacman-9a4719d3c5e7d75fda485e3251edba0fb96b5b27.tar.xz |
fixed a segfault w/ the skiplist
-rw-r--r-- | lib/libalpm/add.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 6fcc6442..e5f9263b 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -191,7 +191,7 @@ error: int add_prepare(pmtrans_t *trans, pmdb_t *db, PMList **data) { PMList *lp; - PMList *skiplist; + PMList *skiplist = NULL; ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1)); ASSERT(db != NULL, RET_ERR(PM_ERR_DB_NULL, -1)); |