ldb: Prepare for adding flags to ltdb_search_dn1() to control memory allocation
commitb465161aaaf79d62a68193f09e4409e363df434f
authorAndrew Bartlett <abartlet@samba.org>
Tue, 26 Jul 2016 12:20:27 +0000 (27 00:20 +1200)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Jul 2016 08:06:12 +0000 (28 10:06 +0200)
tree8703d370644644caab7628699b4ffb9e9f854fef
parentf6e87188b60bea7d15bc015a8617e7ed3f7fbeda
ldb: Prepare for adding flags to ltdb_search_dn1() to control memory allocation

Because the memory layout will change in the next commit, we need to add
a talloc_steal() of msg, which holds the memory on one big chunk.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/ldb_tdb/ldb_index.c