1
0
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:
Andrew Bartlett
2016-06-07 15:42:41 +12:00
committed by Garming Sam
parent c0a930249a
commit 5e895c293f

View File

@ -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)) {