]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolve: Fix build for cleanup function (SSL_free + BIO_free) 18641/head
authorBenjamin Robin <dev@benjarobin.fr>
Tue, 16 Feb 2021 22:57:29 +0000 (23:57 +0100)
committerBenjamin Robin <dev@benjarobin.fr>
Tue, 16 Feb 2021 22:57:29 +0000 (23:57 +0100)
Follow-up of #18616

src/resolve/resolved-dnstls-openssl.c

index defddb52378216a073f4bafb73a6e9583863ae4b..17af90d4cc0609e7843c9a5c0be83f6e67ebf057 100644 (file)
@@ -13,8 +13,8 @@
 #include "resolved-dnstls.h"
 #include "resolved-manager.h"
 
-DEFINE_TRIVIAL_CLEANUP_FUNC(SSL*, SSL_free);
-DEFINE_TRIVIAL_CLEANUP_FUNC(BIO*, BIO_free);
+DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(SSL*, SSL_free, NULL);
+DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(BIO*, BIO_free, NULL);
 
 static int dnstls_flush_write_buffer(DnsStream *stream) {
         ssize_t ss;