Finish fixing memleak in ssl_server2 arg parsing
Fixes omission in 5c078e1
This commit is contained in:
parent
915fc15ccf
commit
b199095ec9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue