mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 10:15:38 +01:00
Finish fixing memleak in ssl_server2 arg parsing
Fixes omission in 5c078e1
This commit is contained in:
parent
915fc15ccf
commit
b199095ec9
@ -587,7 +587,7 @@ psk_entry *psk_parse( char *psk_string )
|
||||
while( p <= end )
|
||||
{
|
||||
if( ( new = polarssl_malloc( sizeof( psk_entry ) ) ) == NULL )
|
||||
return( NULL );
|
||||
goto error;
|
||||
|
||||
memset( new, 0, sizeof( psk_entry ) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user