git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef50539
)
this fixes a timeout error spotted by volker
author
Andrew Tridgell
<tridge@samba.org>
Wed, 18 Apr 2007 09:12:29 +0000
(19:12 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 18 Apr 2007 09:12:29 +0000
(19:12 +1000)
It ensures that when the client context goes away (such as when the client exits)
that any timed events and partially completed requests from that client also go away
(This used to be ctdb commit
45a45a0a44d4da9b45719aac72b0ae4bd4c74462
)
ctdb/common/ctdb_daemon.c
patch
|
blob
|
history
diff --git
a/ctdb/common/ctdb_daemon.c
b/ctdb/common/ctdb_daemon.c
index d784b059b85217411fe488853f9987b978e28179..4d69870a83c17b3e91fae34c2d8d7d6275ef4a72 100644
(file)
--- a/
ctdb/common/ctdb_daemon.c
+++ b/
ctdb/common/ctdb_daemon.c
@@
-151,6
+151,7
@@
static struct ctdb_call_state *ctdb_daemon_fetch_lock_send(struct ctdb_db_contex
state = ctdb_daemon_call_send_remote(ctdb_db, call, header);
state->fetch_private = rec;
talloc_steal(state, rec);
+ talloc_steal(mem_ctx, state);
return state;
}