Use CALLOC for _alpm_graph_new()
commit62a2e45b12f746c098523782fb5889793ef59687
authorPang Yan Han <pangyanhan@gmail.com>
Mon, 14 Feb 2011 22:30:49 +0000 (15 06:30 +0800)
committerDan McGee <dan@archlinux.org>
Tue, 15 Feb 2011 22:23:36 +0000 (15 16:23 -0600)
tree1361eb3f1238d90a2d7aebbc670671a20b364e9d
parent30f338cce6ebcab5dc521f5effef4c6527e8a197
Use CALLOC for _alpm_graph_new()

Change _alpm_graph_new() to use CALLOC to avoid explicit zeroing out of fields
in pmgraph_t.

Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
lib/libalpm/graph.h