Skip to content

Commit

Permalink
fix: ssl session free
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
  • Loading branch information
zhaojh329 committed Apr 29, 2021
1 parent 1dcabba commit 7f99d62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ssl
Submodule ssl updated 2 files
+3 −0 mbedtls.c
+3 −0 openssl.c
4 changes: 2 additions & 2 deletions src/umqtt.c
Expand Up @@ -74,8 +74,8 @@ static void umqtt_free(struct umqtt_client *cl)
buffer_free(&cl->rb);
buffer_free(&cl->wb);

#if UMQTT_SSL_SUPPORT
umqtt_ssl_free(cl->ssl);
#ifdef SSL_SUPPORT
ssl_session_free(cl->ssl);
#endif

if (cl->sock > 0)
Expand Down

0 comments on commit 7f99d62

Please sign in to comment.