Commit 5927ca2d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Call cleanup functions in correct order.

Spotted by Coverity.
parent 647e7fa3
......@@ -352,8 +352,8 @@ vbe_dir_finish(const struct director *d, struct worker *wrk,
bp->display_name);
Lck_Lock(&bp->mtx);
VSC_C_main->backend_recycle++;
VBE_DropRefLocked(bp, &bo->acct);
VBT_Recycle(bp->tcp_pool, &bo->htc->vbc);
VBE_DropRefLocked(bp, &bo->acct);
}
bo->htc->vbc = NULL;
bo->htc = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment