mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r25705: Ensure we return the out value to the caller.
Andrew Bartlett
This commit is contained in:
parent
f350ef5f19
commit
3434262ad7
@ -218,12 +218,14 @@ static int objectclass_sort(struct ldb_module *module,
|
||||
} while (parent_class);
|
||||
|
||||
if (!unsorted) {
|
||||
*sorted_out = sorted;
|
||||
return LDB_SUCCESS;
|
||||
}
|
||||
|
||||
if (!schema) {
|
||||
/* If we don't have schema yet, then just merge the lists again */
|
||||
DLIST_CONCATENATE(sorted, unsorted, struct class_list *);
|
||||
*sorted_out = sorted;
|
||||
return LDB_SUCCESS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user