diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2015-11-18 14:44:31 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2015-11-18 14:56:58 +0000 |
commit | 7b35030eedc26eff82210caa2b0fff2f9d0df453 (patch) | |
tree | 8dfac723a25df2ac0f9c85d3ad7b8e83e8c25ef7 /crypto/tlscredsx509.c | |
parent | 6ef8cd7a4142049707b70b8278aaa9d8ee2bc5f5 (diff) |
crypto: fix leaks in TLS x509 helper functions
The test_tls_get_ipaddr() method forgot to free the returned data
from getaddrinfo().
The test_tls_write_cert_chain() method forgot to free the allocated
buffer holding the certificate data after writing it out to a file.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'crypto/tlscredsx509.c')
0 files changed, 0 insertions, 0 deletions