mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
r504: fixed a bad call to list_union()
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
85e57684b4
commit
4404056cd5
@ -188,7 +188,8 @@ static int ltdb_index_dn_objectclass(struct ldb_context *ldb,
|
|||||||
int i;
|
int i;
|
||||||
int ret;
|
int ret;
|
||||||
const char *target = tree->u.simple.value.data;
|
const char *target = tree->u.simple.value.data;
|
||||||
static int list_union(struct dn_list *, const struct dn_list *);
|
static int list_union(struct ldb_context *,
|
||||||
|
struct dn_list *, const struct dn_list *);
|
||||||
|
|
||||||
list->count = 0;
|
list->count = 0;
|
||||||
list->dn = NULL;
|
list->dn = NULL;
|
||||||
@ -214,7 +215,7 @@ static int ltdb_index_dn_objectclass(struct ldb_context *ldb,
|
|||||||
*list = list2;
|
*list = list2;
|
||||||
ret = 1;
|
ret = 1;
|
||||||
} else {
|
} else {
|
||||||
list_union(list, &list2);
|
list_union(ldb, list, &list2);
|
||||||
dn_list_free(ldb, &list2);
|
dn_list_free(ldb, &list2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user