Finish fixing memleak in ssl_server2 arg parsing

Fixes omission in 5c078e1
This commit is contained in:
Manuel Pégourié-Gonnard 2015-02-18 09:32:06 +00:00
parent 915fc15ccf
commit b199095ec9

View File

@ -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 ) );