]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/resolve/resolved-dnstls-gnutls.c
tree-wide: reset the cleaned-up variable in cleanup functions
[thirdparty/systemd.git] / src / resolve / resolved-dnstls-gnutls.c
index d3edd350b392a05a58695b3f70fa803d14d732c8..e7ccba934e5204b136af00dd457c2b83a74f0d4d 100644 (file)
@@ -11,7 +11,7 @@
 #include "resolved-manager.h"
 
 #define TLS_PROTOCOL_PRIORITY "NORMAL:-VERS-ALL:+VERS-TLS1.3:+VERS-TLS1.2"
-DEFINE_TRIVIAL_CLEANUP_FUNC(gnutls_session_t, gnutls_deinit);
+DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(gnutls_session_t, gnutls_deinit, NULL);
 
 static ssize_t dnstls_stream_writev(gnutls_transport_ptr_t p, const giovec_t *iov, int iovcnt) {
         int r;