Skip to content
Snippets Groups Projects
Commit 3d5e7872 authored by Pavel Kalvoda's avatar Pavel Kalvoda Committed by Pavel Kalvoda
Browse files

Fix memory cleanup

parent 59911ad4
Branches
Tags
No related merge requests found
......@@ -70,8 +70,8 @@ static void test_builder_byte_string_callback_append(
// Data is copied
assert_ptr_not_equal(cbor_bytestring_handle(chunk), bytestring_data);
cbor_decref(bytestring);
_cbor_stack_pop(stack);
cbor_decref(&bytestring);
_cbor_stack_pop(&stack);
}
int main(void) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment