smbd: Fix an uninitialized variable read
authorVolker Lendecke <vl@samba.org>
Fri, 9 Jan 2015 14:45:41 +0000 (15:45 +0100)
committerRalph Böhme <slow@samba.org>
Sun, 11 Jan 2015 17:12:10 +0000 (18:12 +0100)
commit7dceb3a2df49101cd940f7cd1b2798c81dd4e9d9
tree1a8b351292ca3fc643777a11703027f908185d3a
parent6c76c5ef93cd51d0c19faa78cecdc49a3ff5fd03
smbd: Fix an uninitialized variable read

If dbwrap_fetch_locked failed, we did a TALLOC_FREE(value). Fix this with a
talloc hierarchy.

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