0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-29 00:44:17 +01:00

sasl: fix null deref on remote client exit

This commit is contained in:
William Pitcock 2015-03-01 00:01:24 -06:00
parent 8bb9594bf3
commit c23902ae00

View file

@ -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);
}