diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-02-16 20:25:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 20:25:37 +0100 |
commit | 0addd9ba9c2a5e32617d98bef6ec753323d3da4c (patch) | |
tree | 902cf3d5a1f05d4f347143c8789ffa130bd48159 /src/journal-remote/microhttpd-util.h | |
parent | 7820a56ccb6b164699f25fc00cbe3c38fbc182a4 (diff) | |
parent | 15567b3a73285ac9d450fb2a967784e28afb6f5e (diff) | |
download | systemd-0addd9ba9c2a5e32617d98bef6ec753323d3da4c.tar.gz |
Merge pull request #18616 from keszybz/argv-fuzzer-quick-fix
fuzz-systemctl-parse-argv: avoid "leak" of bus object
Diffstat (limited to 'src/journal-remote/microhttpd-util.h')
-rw-r--r-- | src/journal-remote/microhttpd-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal-remote/microhttpd-util.h b/src/journal-remote/microhttpd-util.h index 7f90a09c77..a92ba57d0f 100644 --- a/src/journal-remote/microhttpd-util.h +++ b/src/journal-remote/microhttpd-util.h @@ -80,5 +80,5 @@ int check_permissions(struct MHD_Connection *connection, int *code, char **hostn */ int setup_gnutls_logger(char **categories); -DEFINE_TRIVIAL_CLEANUP_FUNC(struct MHD_Daemon*, MHD_stop_daemon); -DEFINE_TRIVIAL_CLEANUP_FUNC(struct MHD_Response*, MHD_destroy_response); +DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(struct MHD_Daemon*, MHD_stop_daemon, NULL); +DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(struct MHD_Response*, MHD_destroy_response, NULL); |