From c2e5cf6e31b099e1477113b9e11f760e2bdb5396 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 19 Oct 2007 06:57:19 +0200 Subject: r25705: Ensure we return the out value to the caller. Andrew Bartlett (This used to be commit 3434262ad74c366ac58319c70880ca50898fa78c) --- source4/dsdb/samdb/ldb_modules/objectclass.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/dsdb/samdb') diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c index 93c78fd163..452896d5a3 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass.c @@ -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; } -- cgit