1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-01 10:06:53 +03:00

Add 'exit' label and variable initialization to relevant test suite functions

This commit is contained in:
Paul Bakker
2014-07-10 15:26:12 +02:00
parent 318d0fe844
commit bd51b262d1
31 changed files with 235 additions and 28 deletions

View File

@ -117,6 +117,7 @@ void debug_print_crt( int mode, char *crt_file, char *file, int line,
TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );
exit:
x509_crt_free( &crt );
}
/* END_CASE */
@ -144,6 +145,7 @@ void debug_print_mpi( int mode, int radix, char *value, char *file, int line,
TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );
exit:
mpi_free( &val );
}
/* END_CASE */