summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-03-16 15:52:19 +0200
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-03-16 15:52:19 +0200
commitab62402059ff3752660ffc9f292cf210aef59be0 (patch)
tree669db214120b26e1ea939e4e529f1c434534ec95 /tests
parent108864963faf54762629a8bdf1f8bd614f0abd16 (diff)
Documentation updates
Diffstat (limited to 'tests')
-rw-r--r--tests/alltypes_pointer/decode_alltypes_pointer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/alltypes_pointer/decode_alltypes_pointer.c b/tests/alltypes_pointer/decode_alltypes_pointer.c
index d0cdcde0..889676b4 100644
--- a/tests/alltypes_pointer/decode_alltypes_pointer.c
+++ b/tests/alltypes_pointer/decode_alltypes_pointer.c
@@ -21,10 +21,7 @@ bool check_alltypes(pb_istream_t *stream, int mode)
memset(&alltypes, 0xAA, sizeof(alltypes));
if (!pb_decode(stream, AllTypes_fields, &alltypes))
- {
- pb_release(AllTypes_fields, &alltypes);
return false;
- }
TEST(alltypes.req_int32 && *alltypes.req_int32 == -1001);
TEST(alltypes.req_int64 && *alltypes.req_int64 == -1002);