diff options
-rw-r--r-- | src/lib/krb5/krb/preauth_otp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/krb5/krb/preauth_otp.c b/src/lib/krb5/krb/preauth_otp.c index 3de528b..37f98b2 100644 --- a/src/lib/krb5/krb/preauth_otp.c +++ b/src/lib/krb5/krb/preauth_otp.c @@ -830,6 +830,7 @@ set_pa_data(const krb5_pa_otp_req *req, krb5_pa_data ***pa_data_out) goto error; out[0]->contents = (krb5_octet *)tmp->data; out[0]->length = tmp->length; + free(tmp); *pa_data_out = out; return 0; |