summaryrefslogtreecommitdiff
path: root/lib/tpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tpm.c')
-rw-r--r--lib/tpm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tpm.c b/lib/tpm.c
index 95bed111af..b97968838b 100644
--- a/lib/tpm.c
+++ b/lib/tpm.c
@@ -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;