diff --git a/src/krb5_plugin/passkey/passkey_clpreauth.c b/src/krb5_plugin/passkey/passkey_clpreauth.c index 345b8b85c0e..aa7b2d929d2 100644 --- a/src/krb5_plugin/passkey/passkey_clpreauth.c +++ b/src/krb5_plugin/passkey/passkey_clpreauth.c @@ -365,6 +365,9 @@ sss_passkeycl_process(krb5_context context, if (reply != NULL) { free(reply); } + if (prompt_reply != NULL) { + free(prompt_reply); + } return ret; }