git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fb6acd
)
s4:dsdb/schema: let schema_supclasses() return the correct pointer
author
Stefan Metzmacher
<metze@samba.org>
Mon, 16 Nov 2009 18:41:46 +0000
(19:41 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 17 Nov 2009 08:00:50 +0000
(09:00 +0100)
str_list_unique() changes the pointer via talloc_realloc().
metze
source4/dsdb/schema/schema_inferiors.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/schema/schema_inferiors.c
b/source4/dsdb/schema/schema_inferiors.c
index ecac74a9543576d641c2f4fb0222e7558a0ee3b7..23cd43d7011ea786527ec2bde5ffd42e56201664 100644
(file)
--- 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
;
}
/*