jabberd2/jabberd2 — pull request #74 by sdebnath (2014-08-21 01:38:35+00:00)
Title: Cleanup session context for SASL only in _sx_sasl_free.

On authorization failures, the session context does not need to be freed
as the _sx_sasl_free is called anyways. We just need to free it there at
the end of the session's lifetime, otherwise we end up with double free.