krb5: Fix leaked hx509_context pointer

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Kamen Mazdrashki
2009-12-06 04:05:45 +02:00
committed by Love Hornquist Astrand
parent b6460f7364
commit 778df10ddc

View File

@@ -483,6 +483,10 @@ krb5_free_context(krb5_context context)
krb5_set_ignore_addresses(context, NULL);
krb5_set_send_to_kdc_func(context, NULL, NULL);
#ifdef PKINIT
hx509_context_free(&context->hx509ctx);
#endif
HEIMDAL_MUTEX_destroy(context->mutex);
free(context->mutex);