libpttls: Destroy reader when handling errors during SASL
This commit is contained in:
@@ -231,7 +231,9 @@ static status_t do_sasl(private_pt_tls_client_t *this, sasl_mechanism_t *sasl)
|
|||||||
reader->destroy(reader);
|
reader->destroy(reader);
|
||||||
return NEED_MORE;
|
return NEED_MORE;
|
||||||
}
|
}
|
||||||
|
/* fall-through */
|
||||||
default:
|
default:
|
||||||
|
reader->destroy(reader);
|
||||||
return FAILED;
|
return FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user