diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-24 07:08:31 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-24 10:43:30 -0700 |
commit | 42c3eca0d5ccbe116d7b101bc9adaa3b39ca5da2 (patch) | |
tree | b66e2ad54cdd74474dca0e34ebacf384844a29e0 /source4 | |
parent | 2deea285203e154173ad43ad61187cb73e8b25b3 (diff) | |
download | samba-42c3eca0d5ccbe116d7b101bc9adaa3b39ca5da2.tar.gz samba-42c3eca0d5ccbe116d7b101bc9adaa3b39ca5da2.tar.bz2 samba-42c3eca0d5ccbe116d7b101bc9adaa3b39ca5da2.zip |
s4-drs: el may not be a talloc pointer
Use msg->elements for the new element values
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/drsuapi/addentry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/addentry.c b/source4/rpc_server/drsuapi/addentry.c index c7c95821ab..7bf8f39592 100644 --- a/source4/rpc_server/drsuapi/addentry.c +++ b/source4/rpc_server/drsuapi/addentry.c @@ -101,7 +101,7 @@ static WERROR drsuapi_add_SPNs(struct drsuapi_bind_state *b_state, } el->num_values = 2; - el->values = talloc_array(el, struct ldb_val, 2); + el->values = talloc_array(msg->elements, struct ldb_val, 2); if (el->values == NULL) { return WERR_NOMEM; } |