Displaying 1 result from an estimated 1 matches for "talloc_pooled_object".
Did you mean:
_talloc_pooled_object
2013 Nov 28
1
Samba4 git pull (11/28/2013) won't compile on FreeBSD 9.2
...et_locks_readonly_parser(TDB_DATA key, TDB_DATA data,
void *private_data)
{
struct brl_get_locks_readonly_state *state =
(struct brl_get_locks_readonly_state *)private_data;
struct byte_range_lock *br_lock;
br_lock = talloc_pooled_object(
state->mem_ctx, struct byte_range_lock, 1, data.dsize);
if (br_lock == NULL) {
*state->br_lock = NULL;
return;
}
br_lock->lock_data = (struct lock_struct *)talloc_memdup(
br_lock, data.dptr, data.dsize...