Rev 154: this fixes a timeout error spotted by volker in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Wed Apr 18 09:12:29 GMT 2007


------------------------------------------------------------
revno: 154
revision-id: tridge at samba.org-20070418091229-02a734be8c7a9e5f
parent: tridge at samba.org-20070418084334-f8c90c6d688c8091
committer: Andrew Tridgell <tridge at samba.org>
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;
 }



More information about the samba-cvs mailing list