Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
tls: crash in mbedtls due to ctx is already free
[vpp.git]
/
src
/
plugins
/
tlsmbedtls
/
tls_mbedtls.c
diff --git
a/src/plugins/tlsmbedtls/tls_mbedtls.c
b/src/plugins/tlsmbedtls/tls_mbedtls.c
index
a6b968e
..
928b31b
100644
(file)
--- a/
src/plugins/tlsmbedtls/tls_mbedtls.c
+++ b/
src/plugins/tlsmbedtls/tls_mbedtls.c
@@
-555,7
+555,6
@@
mbedtls_app_close (tls_ctx_t * ctx)
{
tls_disconnect_transport (ctx);
session_transport_delete_notify (&ctx->connection);
{
tls_disconnect_transport (ctx);
session_transport_delete_notify (&ctx->connection);
- mbedtls_ctx_free (ctx);
return 0;
}
return 0;
}