s4:dsdb_sort_objectClass_attr - simplify memory context handling
commit5f8006cb64c6537f3004e91319d071a603e4468e
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 4 May 2012 06:51:41 +0000 (4 08:51 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 21 Aug 2012 23:31:55 +0000 (22 01:31 +0200)
tree742a3d1723372ba636ae47e8b42f39f4197ce78f
parent166a7d37f7bfc7b22163e1d38a0bb0e47c2f6622
s4:dsdb_sort_objectClass_attr - simplify memory context handling

Do only require the out memory context and build the temporary one in
the body of the function. This greatly simplifies the callers.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/pydsdb.c
source4/dsdb/samdb/ldb_modules/objectclass.c
source4/dsdb/schema/schema_query.c