pdb: Fix CID 1427624 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)
commite4f62d4e4b91395d46c99c2a5313b0536793cca7
treec9301f679ae0cc6b7d26e3dbf5c98666aac8ae80
parent0edce86e97a49f4bd79f4431015ac2b788105e46
pdb: Fix CID 1427624 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