pdb: Fix CID 1427620 Resource leak
authorVolker Lendecke <vl@samba.org>
Wed, 17 Jan 2018 13:38:41 +0000 (14:38 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 17 Jan 2018 18:24:11 +0000 (19:24 +0100)
commit4e5c9427085f001941adaf761b18740a2e169240
treeb812ae185471102b27edd6454bac6e9e007a2980
parent92131d08987ac7c2fb219bf2e8300f3bc7b702f9
pdb: Fix CID 1427620 Resource leak

It's not exactly a resource leak (we only really realloc if we shrink
dramatically), but assigning the result from tdb_realloc looks nicer.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/passdb/pdb_samba_dsdb.c