Merge branch 'newt-plug-leak' (#2076)

* origin/newt-plug-leak:
  newt: free completed message buffer

Signed-off-by: Jared Tobin <jared@tlon.io>
This commit is contained in:
Jared Tobin 2019-12-12 15:51:43 +08:00
commit 15c929077d
No known key found for this signature in database
GPG Key ID: 0E4647D58F8A69E4

View File

@ -181,6 +181,8 @@ _newt_poke_mess(u3_moat* mot_u)
u3_noun mat = u3i_bytes((c3_w)len_d, buf_y);
mot_u->pok_f(mot_u->vod_p, mat);
}
c3_free(buf_y);
}
/* u3_newt_decode(): decode a (partial) length-prefixed byte buffer