diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2018-11-15 19:55:02 -0500 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2018-11-15 19:55:42 -0500 |
commit | 117725c6f7ee4cfdda390fa0b65f86a37576e933 (patch) | |
tree | 210744ce84b8cb21306d393e8cc78bf2eb5657d1 /lib | |
parent | 95016d4a608bbae7ecb2813dd6e6dd80970b0754 (diff) | |
download | gnutls-117725c6f7ee4cfdda390fa0b65f86a37576e933.tar.gz |
lib: tpm: Fix a memory leak
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tpm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -422,6 +422,7 @@ static int tpm_open_session(struct tpm_ctx_st *s, const char *_srk_password, uns ret = tss_err(err); goto out_srkpol; } + gnutls_free(password); return 0; |