Skip to content

Commit

Permalink
Merge pull request #6420 from mpg/fix-assert-alloc-usage-228
Browse files Browse the repository at this point in the history
backport 2.28 - Fix usage of ASSERT_ALLOC()
  • Loading branch information
mpg authored Oct 17, 2022
2 parents d3a4f22 + d44d3ea commit e5ae132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/suites/test_suite_asn1parse.function
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ void free_named_data_list( int length )
for( i = 0; i < length; i++ )
{
mbedtls_asn1_named_data *new = NULL;
ASSERT_ALLOC( new, sizeof( mbedtls_asn1_named_data ) );
ASSERT_ALLOC( new, 1 );
new->next = head;
head = new;
}
Expand Down

0 comments on commit e5ae132

Please sign in to comment.