diff --git a/programs/ssl/ssl_fork_server.c b/programs/ssl/ssl_fork_server.c index 13ce5dd60..4da96a66c 100644 --- a/programs/ssl/ssl_fork_server.c +++ b/programs/ssl/ssl_fork_server.c @@ -258,11 +258,10 @@ int main( void ) goto exit; } - mbedtls_net_free( &client_fd ); continue; } - mbedtls_net_free( &listen_fd ); + mbedtls_net_init( &listen_fd ); /* * 4. Setup stuff