lib/ldb-samba: Use ndr_push_struct_into_fixed_blob() in ldif_handlers.c
commitcb6395c858001c6a807aa666860092024066a178
authorAndrew Bartlett <abartlet@samba.org>
Sun, 26 Jun 2016 22:52:55 +0000 (27 10:52 +1200)
committerStefan Metzmacher <metze@samba.org>
Thu, 28 Jul 2016 08:06:12 +0000 (28 10:06 +0200)
tree9c4dc99f12fdce7f76ce985667e54157b218253d
parent1246904d41eebc3440636dd29a9dc9ba38b738f6
lib/ldb-samba: Use ndr_push_struct_into_fixed_blob() in ldif_handlers.c

This avoids a number of pointless and pointlessly-large allocations
in inner loops.

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