summaryrefslogtreecommitdiffstats
path: root/tests/fuzztest/fuzztest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fuzztest/fuzztest.c')
-rw-r--r--tests/fuzztest/fuzztest.c1
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;