This did not do much.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
return NT_STATUS_OK;
}
-static int smbXsrv_open_global_destructor(struct smbXsrv_open_global0 *global)
-{
- return 0;
-}
-
static void smbXsrv_open_global_verify_record(struct db_record *db_rec,
bool *is_free,
bool *was_free,
if (global == NULL) {
return NT_STATUS_NO_MEMORY;
}
- talloc_set_destructor(global, smbXsrv_open_global_destructor);
/*
* We mark every slot as invalid using 0xFF.
(*_global)->db_rec = talloc_move(*_global, &global_rec);
- talloc_set_destructor(*_global, smbXsrv_open_global_destructor);
-
return NT_STATUS_OK;
}