free cleanup almost the finale
[oweals/openssl.git] / crypto / evp / bio_b64.c
index 8cbbf0253bd0dc25cf74e733f26b99ad2fb1071a..fe772fc34fcf4b11380edb1b2ca52429ad94f79a 100644 (file)
@@ -115,7 +115,7 @@ static int b64_new(BIO *bi)
 {
     BIO_B64_CTX *ctx;
 
-    ctx = (BIO_B64_CTX *)OPENSSL_malloc(sizeof(BIO_B64_CTX));
+    ctx = OPENSSL_malloc(sizeof(BIO_B64_CTX));
     if (ctx == NULL)
         return (0);