From 3af7d0910b9660a270aa3279716596c7d7711671 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Mon, 6 Jun 2016 21:00:59 +0300 Subject: Add testcase for issue #205 --- tests/fuzztest/fuzztest.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/fuzztest/fuzztest.c') 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; -- cgit 1.2.3-korg