diff options
-rw-r--r-- | source3/libads/sasl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c index 798d0b4365..55bc16a1be 100644 --- a/source3/libads/sasl.c +++ b/source3/libads/sasl.c @@ -597,6 +597,8 @@ static ADS_STATUS ads_sasl_spnego_gsskrb5_bind(ADS_STRUCT *ads, const gss_name_t context_handle = GSS_C_NO_CONTEXT; } + status = ADS_SUCCESS; + failed: if (context_handle != GSS_C_NO_CONTEXT) gss_delete_sec_context(&minor_status, &context_handle, GSS_C_NO_BUFFER); |