------------------------------------------------------------
revno: 154
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Wed 2007-04-18 19:12:29 +1000
message:
  this fixes a timeout error spotted by volker
  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
modified:
  common/ctdb_daemon.c           ctdb_daemon.c-20070409200331-3el1kqgdb9m4ib0g-1
=== modified file 'common/ctdb_daemon.c'
--- a/common/ctdb_daemon.c      2007-04-18 08:39:02 +0000
+++ b/common/ctdb_daemon.c      2007-04-18 09:12:29 +0000
@@ -151,6 +151,7 @@
        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;
 }

Reply via email to