Issue #13458: Fix a memory leak in the ssl module when decoding a certificate with a subjectAltName.
Patch by Robert Xiao.
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 84ec477..5419059 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -679,6 +679,7 @@
             }
             Py_DECREF(t);
         }
+        sk_GENERAL_NAME_pop_free(names, GENERAL_NAME_free);
     }
     BIO_free(biobuf);
     if (peer_alt_names != Py_None) {