summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-11-16 19:41:46 +0100
committerStefan Metzmacher <metze@samba.org>2009-11-17 09:00:50 +0100
commit4532f683a768462b069264577afb4f301a75f4ef (patch)
tree87060f4a8a2596cdfb0a8531d6f77f5e6b02335a /source4/dsdb
parent2fb6acd2d7545ff474dc5588287ddbe9ee6cdbbe (diff)
downloadsamba-4532f683a768462b069264577afb4f301a75f4ef.tar.gz
samba-4532f683a768462b069264577afb4f301a75f4ef.tar.bz2
samba-4532f683a768462b069264577afb4f301a75f4ef.zip
s4:dsdb/schema: let schema_supclasses() return the correct pointer
str_list_unique() changes the pointer via talloc_realloc(). metze
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/schema/schema_inferiors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/schema/schema_inferiors.c b/source4/dsdb/schema/schema_inferiors.c
index ecac74a954..23cd43d701 100644
--- a/source4/dsdb/schema/schema_inferiors.c
+++ b/source4/dsdb/schema/schema_inferiors.c
@@ -67,8 +67,8 @@ static char **schema_supclasses(struct dsdb_schema *schema, struct dsdb_class *s
}
schema_class->supclasses = str_list_unique(list);
-
- return list;
+
+ return schema_class->supclasses;
}
/*