diff options
author | Benjamin Robin <dev@benjarobin.fr> | 2021-02-16 23:57:29 +0100 |
---|---|---|
committer | Benjamin Robin <dev@benjarobin.fr> | 2021-02-16 23:57:29 +0100 |
commit | 0e2d092d43e2dfe09883ce6bfa0cdde5380de39c (patch) | |
tree | c3d1e04dd0d30c3533f655585a2845dbb1d4de46 /src | |
parent | shared: use -EINVAL for _NETDEV_BRIDGE_STATE_INVALID (diff) | |
download | systemd-0e2d092d43e2dfe09883ce6bfa0cdde5380de39c.tar.xz systemd-0e2d092d43e2dfe09883ce6bfa0cdde5380de39c.zip |
resolve: Fix build for cleanup function (SSL_free + BIO_free)
Follow-up of #18616
Diffstat (limited to 'src')
-rw-r--r-- | src/resolve/resolved-dnstls-openssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-dnstls-openssl.c b/src/resolve/resolved-dnstls-openssl.c index defddb5237..17af90d4cc 100644 --- a/src/resolve/resolved-dnstls-openssl.c +++ b/src/resolve/resolved-dnstls-openssl.c @@ -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; |