Skip to content

Commit

Permalink
Even more memory fixes. Thats what I do - I fix memory
Browse files Browse the repository at this point in the history
  • Loading branch information
PJK committed Apr 26, 2015
1 parent 73909e6 commit 52102f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/type_4_encoders_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ static void test_indef_array_encoding(void **state)
assert_int_equal(4, cbor_serialize_array(array, buffer, 512));
assert_memory_equal(buffer, ((unsigned char[]) {0x9F, 0x01, 0x02, 0xFF}), 4);
cbor_decref(&array);
cbor_decref(&one);
cbor_decref(&two);
}

int main(void)
Expand Down

0 comments on commit 52102f3

Please sign in to comment.