chiark / gitweb /
journal-remote: fix certificate status memory leak
authorMichal Schmidt <mschmidt@redhat.com>
Tue, 17 Feb 2015 09:33:01 +0000 (10:33 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Tue, 17 Feb 2015 09:34:15 +0000 (10:34 +0100)
commit9c3cf9693ac5c0a332ba376f99e6adea28b1bb0d
tree6586dd6d4601ab58f547a4e3623912f1add79e81
parenta88abde72169ddc2df77df3fa5bed30725022253
journal-remote: fix certificate status memory leak

The output of gnutls_certificate_verification_status_print() needs to be
freed.

Noticed this while staring at verify_cert_authorized() to see what could
possibly confuse gcc5 on armv7hl to segfault during compilation.
src/journal-remote/microhttpd-util.c