Commit f87c8e33 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Polish

parent a5072324
......@@ -116,13 +116,10 @@ obj_deleteboc(struct boc **p)
{
struct boc *boc;
AN(p);
boc = *p;
*p = NULL;
TAKE_OBJ_NOTNULL(boc, p, BOC_MAGIC);
Lck_Delete(&boc->mtx);
AZ(pthread_cond_destroy(&boc->cond));
if (boc->vary != NULL)
free(boc->vary);
free(boc->vary);
FREE_OBJ(boc);
}
......
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