diff --git a/src/ssl.c b/src/ssl.c index 30da655be..c9a373dbb 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -37181,6 +37181,8 @@ error: XFREE(section, NULL, DYNAMIC_TYPE_PKCS7); if (canonSection != NULL) XFREE(canonSection, NULL, DYNAMIC_TYPE_PKCS7); + if (cannonLine != NULL) + XFREE(canonLine, NULL, DYNAMIC_TYPE_PKCS7); if (bcont) { wolfSSL_BIO_free(*bcont); *bcont = NULL; /* reset 'bcount' pointer to NULL on failure */