mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 00:32:35 +01:00
sasl: fix null deref on remote client exit
This commit is contained in:
parent
8bb9594bf3
commit
c23902ae00
1 changed files with 2 additions and 1 deletions
|
@ -225,6 +225,7 @@ abort_sasl(struct Client *data)
|
|||
static void
|
||||
abort_sasl_exit(hook_data_client_exit *data)
|
||||
{
|
||||
abort_sasl(data->target);
|
||||
if (data->target->localClient)
|
||||
abort_sasl(data->target);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue