mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
r25705: Ensure we return the out value to the caller.
Andrew Bartlett
(This used to be commit 3434262ad7
)
This commit is contained in:
parent
35dc4d9999
commit
c2e5cf6e31
@ -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