From 4ca417afa4dde0895707e2cf6faf1e8ac2d101e1 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Sat, 13 Aug 2022 19:51:45 +0200 Subject: test: add a comment for init_ssl() about suppressions for LSan --- test/regress_openssl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/regress_openssl.c b/test/regress_openssl.c index 6bddb653..3ea767c6 100644 --- a/test/regress_openssl.c +++ b/test/regress_openssl.c @@ -153,6 +153,7 @@ init_ssl(void) #if (OPENSSL_VERSION_NUMBER < 0x10100000L) || \ (defined(LIBRESSL_VERSION_NUMBER) && \ LIBRESSL_VERSION_NUMBER < 0x20700000L) + /* NOTE: you should destroy every global objects to avoid leaks, see lsan.supp */ SSL_library_init(); ERR_load_crypto_strings(); SSL_load_error_strings(); -- cgit v1.2.1