ldb_tdb: Reduce memory consumption in list_intersect()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 21 Aug 2017 23:17:56 +0000 (11:17 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Sep 2017 19:20:23 +0000 (21:20 +0200)
commit3c6977b17c66e1bc8dbab9df5cf2338868f1a180
treefadff3e59468c4475f9736a73228509c51947122
parent97b026a73fafa0d8b54d3b69fcce604d8c44ebcc
ldb_tdb: Reduce memory consumption in list_intersect()

We will never have more results than is in either list or list2.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/ldb_tdb/ldb_index.c