On 2/4/19 4:22 PM, Jeff Moyer wrote:
> Hi, Jens,
> 
> Jens Axboe <[email protected]> writes:
> 
>> +static void io_ring_ctx_free(struct io_ring_ctx *ctx)
>> +{
>> +    destroy_workqueue(ctx->sqo_wq);
> 
> You need to make sure sqo_wq is non-null before calling
> destroy_workqueue.

Fixed, thanks.

-- 
Jens Axboe

Reply via email to