diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 912320771e3f65..a650d4fef70cbd 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -1132,6 +1132,7 @@ static bool SafeX509ExtPrint(BIO* out, X509_EXTENSION* ext) { X509V3_EXT_val_prn(out, nval, 0, 0); } } + sk_GENERAL_NAME_pop_free(names, GENERAL_NAME_free); return true; }