nwrap: Small code shift in nwrap_ed_inventarize_add_to_existing()
commit16b71aecab5233138dd609fffbc9296abe3628c5
authorRobin Hack <hack.robin@gmail.com>
Mon, 16 Nov 2015 22:38:51 +0000 (16 23:38 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 11 Jan 2016 11:25:31 +0000 (11 12:25 +0100)
tree2299c88858c93f2ba10ff81206091d6dc06a58d6
parentdb0ef5cc9e1a7aedb62ade34cd25e71f745dacc7
nwrap: Small code shift in nwrap_ed_inventarize_add_to_existing()

Allocate memory only when necessary.

Signed-off-by: Robin Hack <hack.robin@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/nss_wrapper/nss_wrapper.c