1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

krb5: Fix leaked hx509_context pointer

Signed-off-by: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
Kamen Mazdrashki 2009-12-06 04:05:45 +02:00 committed by Andrew Tridgell
parent 4653d05fef
commit bf7cc3262e

View File

@ -474,6 +474,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);