properly zero-initialize u3_wcon linked-list pointer

This commit is contained in:
Joe Bryan 2018-11-15 19:33:30 -05:00
parent 5191851946
commit 2ea9cb52fe

View File

@ -2082,8 +2082,9 @@ static u3_wcon*
_proxy_wcon_new(u3_ward* rev_u) _proxy_wcon_new(u3_ward* rev_u)
{ {
u3_wcon* won_u = c3_malloc(sizeof(*won_u)); u3_wcon* won_u = c3_malloc(sizeof(*won_u));
won_u->rev_u = rev_u;
won_u->upt_u.data = won_u; won_u->upt_u.data = won_u;
won_u->rev_u = rev_u;
won_u->nex_u = 0;
_proxy_wcon_link(won_u, rev_u); _proxy_wcon_link(won_u, rev_u);