_alpm_splitdep: use malloc instead of calloc
commit69962184bb3cc313f744de6553ef31b4eb256a01
authorDan McGee <dan@archlinux.org>
Tue, 27 Sep 2011 22:47:40 +0000 (27 17:47 -0500)
committerDan McGee <dan@archlinux.org>
Tue, 27 Sep 2011 22:52:38 +0000 (27 17:52 -0500)
tree99dd39bc83bd822c851cf61fd1718663553f47de
parentd8fab9b4415b2382c9b5d92f6d0d40074ab65f30
_alpm_splitdep: use malloc instead of calloc

There was only one simple to handle case where we left a field
uninitialized; set it to NULL and use malloc() instead.

Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/deps.c