diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2016-06-06 21:00:59 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2016-06-06 21:00:59 +0300 |
commit | 3af7d0910b9660a270aa3279716596c7d7711671 (patch) | |
tree | 626f7b882fdfbedcdde2505d9afdb7f7d5fc8357 /tests/fuzztest | |
parent | de938076da92b659a4bdac286f0daa0a2f393989 (diff) |
Add testcase for issue #205
Diffstat (limited to 'tests/fuzztest')
-rw-r--r-- | tests/fuzztest/fuzztest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fuzztest/fuzztest.c b/tests/fuzztest/fuzztest.c index d3701724..ee851ec0 100644 --- a/tests/fuzztest/fuzztest.c +++ b/tests/fuzztest/fuzztest.c @@ -192,6 +192,7 @@ static bool do_static_encode(uint8_t *buffer, size_t *msglen) assert(stream.bytes_written <= alltypes_static_AllTypes_size); *msglen = stream.bytes_written; + pb_release(alltypes_static_AllTypes_fields, msg); free_with_check(msg); return status; |