chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
journal-remote: fix certificate status memory leak
[elogind.git]
/
src
/
journal-remote
/
microhttpd-util.c
diff --git
a/src/journal-remote/microhttpd-util.c
b/src/journal-remote/microhttpd-util.c
index 34d93379dacea1a35740b2977405bd037283d340..de9c6ab32d124be9e3c2314c8495a3a09d7675de 100644
(file)
--- a/
src/journal-remote/microhttpd-util.c
+++ b/
src/journal-remote/microhttpd-util.c
@@
-179,6
+179,7
@@
static int verify_cert_authorized(gnutls_session_t session) {
return log_error_errno(r, "gnutls_certificate_verification_status_print failed: %m");
log_info("Certificate status: %s", out.data);
+ gnutls_free(out.data);
return status == 0 ? 0 : -EPERM;
}