@@ -98,7 +98,6 @@ static void test_rx_fragment_tree_update_a(void)
9898 TEST_ASSERT_EQUAL_size_t (1 , alloc_frag .count_free );
9999 TEST_ASSERT_EQUAL_size_t (0 , alloc_payload .count_free ); // bc payload empty
100100 }
101-
102101 instrumented_allocator_reset (& alloc_frag );
103102 instrumented_allocator_reset (& alloc_payload );
104103
@@ -140,7 +139,6 @@ static void test_rx_fragment_tree_update_a(void)
140139 TEST_ASSERT_EQUAL_size_t (1 , alloc_frag .count_free );
141140 TEST_ASSERT_EQUAL_size_t (1 , alloc_payload .count_free );
142141 }
143-
144142 instrumented_allocator_reset (& alloc_frag );
145143 instrumented_allocator_reset (& alloc_payload );
146144
@@ -183,7 +181,6 @@ static void test_rx_fragment_tree_update_a(void)
183181 TEST_ASSERT_EQUAL_size_t (1 , alloc_frag .count_free );
184182 TEST_ASSERT_EQUAL_size_t (1 , alloc_payload .count_free );
185183 }
186-
187184 instrumented_allocator_reset (& alloc_frag );
188185 instrumented_allocator_reset (& alloc_payload );
189186
@@ -256,7 +253,6 @@ static void test_rx_fragment_tree_update_a(void)
256253 TEST_ASSERT_EQUAL_size_t (3 , alloc_frag .count_free );
257254 TEST_ASSERT_EQUAL_size_t (3 , alloc_payload .count_free );
258255 }
259-
260256 instrumented_allocator_reset (& alloc_frag );
261257 instrumented_allocator_reset (& alloc_payload );
262258
@@ -436,6 +432,8 @@ static void test_rx_fragment_tree_update_a(void)
436432 TEST_ASSERT_EQUAL_size_t (6 , alloc_frag .count_free );
437433 TEST_ASSERT_EQUAL_size_t (7 , alloc_payload .count_free );
438434 }
435+ instrumented_allocator_reset (& alloc_frag );
436+ instrumented_allocator_reset (& alloc_payload );
439437}
440438
441439static void test_rx_transfer_id_forward_distance (void )
0 commit comments