mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Fix memory leak in TLS 1.3 record protection unit test
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
		
							parent
							
								
									a77d005d39
								
							
						
					
					
						commit
						80e760e006
					
				@ -4024,6 +4024,7 @@ void ssl_tls1_3_record_protection( int ciphersuite,
 | 
			
		||||
    ASSERT_COMPARE( rec.buf + rec.data_offset, rec.data_len,
 | 
			
		||||
                    plaintext->x, plaintext->len );
 | 
			
		||||
 | 
			
		||||
    mbedtls_free( buf );
 | 
			
		||||
    mbedtls_ssl_transform_free( &transform_send );
 | 
			
		||||
    mbedtls_ssl_transform_free( &transform_recv );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user