tls: crash in mbedtls due to ctx is already free
[vpp.git] / src / plugins / tlsmbedtls / tls_mbedtls.c
index a6b968e..928b31b 100644 (file)
@@ -555,7 +555,6 @@ mbedtls_app_close (tls_ctx_t * ctx)
 {
   tls_disconnect_transport (ctx);
   session_transport_delete_notify (&ctx->connection);
-  mbedtls_ctx_free (ctx);
   return 0;
 }