mirror of
https://github.com/samba-team/samba.git
synced 2025-08-26 01:49:31 +03:00
s3-libnet: Fix compiler errors when building with --address-sanitizer
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
committed by
Garming Sam
parent
c0a930249a
commit
5e895c293f
@ -1809,7 +1809,7 @@ static NTSTATUS parse_object(struct dssync_passdb *pctx,
|
||||
for (a=0; a < ARRAY_SIZE(dssync_object_table); a++) {
|
||||
if (sam_type == dssync_object_table[a].type) {
|
||||
if (dssync_object_table[a].fn) {
|
||||
struct dssync_passdb_obj *obj;
|
||||
struct dssync_passdb_obj *obj = NULL;
|
||||
status = dssync_create_obj(pctx, pctx->all,
|
||||
sam_type, cur, &obj);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
|
Reference in New Issue
Block a user