mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-09 15:22:11 -04:00
Merge pull request #6420 from mpg/fix-assert-alloc-usage-228
backport 2.28 - Fix usage of ASSERT_ALLOC()
This commit is contained in:
commit
e5ae132d87
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user