1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

smbd: Fix a small leak on talloc_tos()

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Sun Jan 11 20:34:56 CET 2015 on sn-devel-104
This commit is contained in:
Volker Lendecke 2015-01-09 15:47:18 +01:00 committed by Ralph Böhme
parent 7dceb3a2df
commit 26809d17f4

View File

@ -283,7 +283,7 @@ NTSTATUS leases_db_del(const struct GUID *client_guid,
} else {
DEBUG(10, ("%s: updating record\n", __func__));
ndr_err = ndr_push_struct_blob(
&blob, talloc_tos(), value,
&blob, rec, value,
(ndr_push_flags_fn_t)ndr_push_leases_db_value);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
DEBUG(10, ("%s: ndr_push_struct_blob_failed: %s\n",