s4-openldap: Remove use of talloc_reference in ldb_map_outbound.c
authorNadezhda Ivanova <nivanova@symas.com>
Wed, 18 Sep 2013 22:31:24 +0000 (15:31 -0700)
committerNadezhda Ivanova <nivanova@symas.com>
Tue, 24 Sep 2013 01:40:25 +0000 (18:40 -0700)
commit75705776929d87f1a694582261c07d1724574370
treeeec43bd692ae4ed81f2dc577eafed94ed92fcef7
parent5805b7abc88d9f16bc927ae5d51c2807e4a939ee
s4-openldap: Remove use of talloc_reference in ldb_map_outbound.c

Instead of referencing the values array of the element to the new element, copy them, to
avoid use of talloc_reference and remove a warning of talloc_steal with reference.
The issue is only relevant when openldap backend is used.

Signed-off-by: Nadezhda Ivanova <nivanova@symas.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/ldb/ldb_map/ldb_map_outbound.c