Properly free Vec<u8>s after conversion to byte[].
authorMatt Corallo <git@bluematt.me>
Wed, 21 Oct 2020 18:08:50 +0000 (14:08 -0400)
committerMatt Corallo <git@bluematt.me>
Wed, 21 Oct 2020 18:16:37 +0000 (14:16 -0400)
commitd3209bb154c051ae4ef91f5df29825f4b52f0edc
tree8dc9d3c56b8798e62197707c664d1c3687767337
parent371e82300e5de678404f0addc47a20636077df5d
Properly free Vec<u8>s after conversion to byte[].

This fixes a memory leak in basically all of the *_write
serialization functions.
genbindings.py
src/main/jni/bindings.c