Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix memory leak in SPNEGO gss_init_sec_context()
After the initial call to spnego_gss_init_sec_context(), the context handle can leak if init_ctx_cont() returns an error, because the cleanup handler assumes that spnego_ctx contains the value of *context_handle. Fix this leak by setting spnego_ctx before the if block which contains that call. Reported by Adam Bernstein. ticket: 8281 (new) target_version: 1.14.1 tags: pullup
- Loading branch information