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:
30b5cc7
)
fix async chained requests
author
Stefan Metzmacher
<metze@samba.org>
Wed, 28 Apr 2010 15:45:42 +0000
(17:45 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 29 Apr 2010 13:53:16 +0000
(15:53 +0200)
source3/smbd/pipes.c
patch
|
blob
|
history
diff --git
a/source3/smbd/pipes.c
b/source3/smbd/pipes.c
index 6bf031b721975a85e469c612a44784c859935f98..8c7704aa6d8835df6b2cf8c9f5df65ee928c73f0 100644
(file)
--- a/
source3/smbd/pipes.c
+++ b/
source3/smbd/pipes.c
@@
-479,10
+479,12
@@
static void pipe_read_andx_done(struct tevent_req *subreq)
state->smb_mincnt, state->smb_maxcnt, (int)nread));
done:
+ req = talloc_move(talloc_tos(), &req);
+
chain_reply(req);
/*
* We must free here as the ownership of req was
* moved to the connection struct in reply_pipe_read_and_X().
*/
- TALLOC_FREE(req);
+
//
TALLOC_FREE(req);
}