From 526688a1a53f4e4dd34d692fd2ead027434d241b Mon Sep 17 00:00:00 2001 From: Hideki Miyazaki Date: Sat, 20 Mar 2021 12:47:35 +0900 Subject: [PATCH] adressed review comments part 5-1 --- src/ssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index 68adb8516..dff8a4dc9 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -15821,7 +15821,8 @@ int wolfSSL_set_compression(WOLFSSL* ssl) ctx->x509_store.cache = str->cache; ctx->x509_store_pt = str; /* take ownership of store and free it with CTX free */ - ctx->cm->x509_store_p = ctx->x509_store_pt; + ctx->cm->x509_store_p = ctx->x509_store_pt;/* CTX has onwership + and free it with CTX free*/ }