git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
491102c
)
s3: Remove talloc_autofree_context() from receive_unexpected()
author
Volker Lendecke
<vl@samba.org>
Sun, 26 Sep 2010 23:44:06 +0000
(
01:44
+0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 28 Sep 2010 05:36:15 +0000
(07:36 +0200)
This is freed in this routine a few lines down
source3/libsmb/unexpected.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/unexpected.c
b/source3/libsmb/unexpected.c
index 17ebcd22ab3a4e8c9e60b08542eb85b032f5aa37..6daf61f4af7b1b1893895e83bc5c9dcc908eb4fc 100644
(file)
--- a/
source3/libsmb/unexpected.c
+++ b/
source3/libsmb/unexpected.c
@@
-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;