Author: abartlet
Date: 2007-10-19 06:57:19 +0000 (Fri, 19 Oct 2007)
New Revision: 25705

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25705

Log:
Ensure we return the out value to the caller.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectclass.c


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectclass.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectclass.c      
2007-10-19 06:47:54 UTC (rev 25704)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectclass.c      
2007-10-19 06:57:19 UTC (rev 25705)
@@ -218,12 +218,14 @@
        } 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;
        }
 

Reply via email to