summaryrefslogtreecommitdiff
path: root/openssl_bio_compat.h
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-12-08 22:16:55 +0000
committerDaniel Golle <daniel@makrotopia.org>2020-12-08 22:18:16 +0000
commit50abd211c4a2c66748d4e7dc2afcb202b5f529b1 (patch)
tree9bf611e96263e32c800162c979ce5e1a1d5cd32d /openssl_bio_compat.h
parent1651a795864e7a8741cb56e7ddd2208070f2cf47 (diff)
downloadustream-ssl-50abd211c4a2c66748d4e7dc2afcb202b5f529b1.tar.gz
Revert "ustream-ssl: openssl: fix bio memory leak"
This reverts commit 1651a795864e7a8741cb56e7ddd2208070f2cf47. It doesn't actually compile. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'openssl_bio_compat.h')
-rw-r--r--openssl_bio_compat.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/openssl_bio_compat.h b/openssl_bio_compat.h
index 39a0455..9355c86 100644
--- a/openssl_bio_compat.h
+++ b/openssl_bio_compat.h
@@ -28,13 +28,6 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name)
return bm;
}
-static inline void BIO_meth_free(BIO_METHOD *bm)
-{
- if (bm != NULL) {
- free(bm);
- }
-}
-
#endif /* OPENSSL_VERSION_NUMBER */
#endif /* OPENSSL_BIO_COMPAT_H */