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:
parent
4653d05fef
commit
bf7cc3262e
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user