free NULL cleanup
[openssl.git] / crypto / asn1 / asn_mime.c
index e96fb0209434fc4e3b67c4b49a7cb783080fb770..e810345579e23ada85308e34b8e223c181694bb6 100644 (file)
@@ -650,8 +650,7 @@ static int multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret)
                 BIO_write(bpart, linebuf, len);
         }
     }
-    if (bpart != NULL)
-        BIO_free(bpart);
+    BIO_free(bpart);
     return 0;
 }