cptr, cli_connect(cptr)));
if (cli_auth(cptr))
- destroy_auth_request(cli_auth(cptr), 0);
+ destroy_auth_request(cli_auth(cptr));
/* Make sure we didn't magically get re-added to the list */
assert(cli_next(cptr) == 0);
}
assert(0 != lp);
links.inuse++;
+ memset(lp, 0, sizeof(*lp));
return lp;
}
if (lp) {
lp->next = slinkFreeList;
slinkFreeList = lp;
+ links.inuse--;
}
- links.inuse--;
}
/** Add an element to a doubly linked list.