free NULL cleanup 11
[oweals/openssl.git] / crypto / asn1 / asn1_gen.c
index 6756c67a4792c7ec00e8a0876a2f7bdd91023e0d..549bc5ef36850c8cb3d1be19fa9f4a42ae2eebf5 100644 (file)
@@ -511,8 +511,7 @@ static ASN1_TYPE *asn1_multi(int utype, const char *section, X509V3_CTX *cnf,
     OPENSSL_free(der);
 
     sk_ASN1_TYPE_pop_free(sk, ASN1_TYPE_free);
-    if (sect)
-        X509V3_section_free(cnf, sect);
+    X509V3_section_free(cnf, sect);
 
     return ret;
 }