1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3: Remove talloc_autofree_context() from receive_unexpected()

This is freed in this routine a few lines down
This commit is contained in:
Volker Lendecke 2010-09-27 01:44:06 +02:00
parent 491102c1ce
commit 93adf70d1a

View File

@ -189,8 +189,8 @@ struct packet_struct *receive_unexpected(enum packet_type packet_type, int id,
struct tdb_wrap *tdb2;
struct receive_unexpected_state state;
tdb2 = tdb_wrap_open(talloc_autofree_context(),
lock_path("unexpected.tdb"), 0, 0, O_RDONLY, 0);
tdb2 = tdb_wrap_open(talloc_tos(), lock_path("unexpected.tdb"), 0, 0,
O_RDONLY, 0);
if (!tdb2) return NULL;
state.matched_packet = NULL;