mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 20:04:09 +03:00
Merge pull request #1067 from urbit/proxy-wcon-zero-init
properly zero-initialize u3_wcon linked-list pointer
This commit is contained in:
commit
a30ad3056b
@ -2082,8 +2082,9 @@ static u3_wcon*
|
||||
_proxy_wcon_new(u3_ward* rev_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->rev_u = rev_u;
|
||||
won_u->nex_u = 0;
|
||||
|
||||
_proxy_wcon_link(won_u, rev_u);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user