krb5: krb5_free_context unconditionally call hx509_context_free
Its safe to call hx509_context_free() with a NULL context. Change-Id: I47e3aa1b57a2008dbfcd8d6de1b9c6ded84414db
This commit is contained in:

committed by
Jeffrey Altman

parent
ed24c41973
commit
bbe5bf669b
@@ -660,7 +660,6 @@ krb5_free_context(krb5_context context)
|
||||
krb5_set_send_to_kdc_func(context, NULL, NULL);
|
||||
|
||||
#ifdef PKINIT
|
||||
if (context->hx509ctx)
|
||||
hx509_context_free(&context->hx509ctx);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user