1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

fixed valgrind error

(This used to be ctdb commit 77de040539ba0c5b10f94aec9d286c6d1f2be15f)
This commit is contained in:
Andrew Tridgell 2007-06-10 09:54:27 +10:00
parent 044a2e04c4
commit dc29399f6a

View File

@ -437,6 +437,8 @@ int ctdb_takeover_run(struct ctdb_context *ctdb, struct ctdb_node_map *nodemap)
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.