Commit b199095e authored by Manuel Pégourié-Gonnard's avatar Manuel Pégourié-Gonnard
Browse files

Finish fixing memleak in ssl_server2 arg parsing

Fixes omission in 5c078e17
parent 915fc15c
...@@ -587,7 +587,7 @@ psk_entry *psk_parse( char *psk_string ) ...@@ -587,7 +587,7 @@ psk_entry *psk_parse( char *psk_string )
while( p <= end ) while( p <= end )
{ {
if( ( new = polarssl_malloc( sizeof( psk_entry ) ) ) == NULL ) if( ( new = polarssl_malloc( sizeof( psk_entry ) ) ) == NULL )
return( NULL ); goto error;
memset( new, 0, sizeof( psk_entry ) ); memset( new, 0, sizeof( psk_entry ) );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment