Rev 526: fixed valgrind error in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Sat Jun 9 23:54:28 GMT 2007


------------------------------------------------------------
revno: 526
revision-id: tridge at samba.org-20070609235427-i455c32lojxd83vj
parent: tridge at samba.org-20070609224633-eo5a0r2uf2u83u3q
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Sun 2007-06-10 09:54:27 +1000
message:
  fixed valgrind error
modified:
  takeover/ctdb_takeover.c       ctdb_takeover.c-20070525071636-a5n1ihghjtppy08r-2
=== modified file 'takeover/ctdb_takeover.c'
--- a/takeover/ctdb_takeover.c	2007-06-09 22:46:33 +0000
+++ b/takeover/ctdb_takeover.c	2007-06-09 23:54:27 +0000
@@ -437,6 +437,8 @@
 	int ret;
 	struct ctdb_public_ip ip;
 
+	ZERO_STRUCT(ip);
+
 	/* Work out which node will look after each public IP.
 	 * takeover_node cycles over the nodes and is incremented each time a 
 	 * node has been assigned to take over for another node.



More information about the samba-cvs mailing list