git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3413fb
)
Revert "null out the pointer before we reload the nodes file"
author
Martin Schwenke
<martin@meltin.net>
Mon, 14 Oct 2013 01:50:08 +0000
(12:50 +1100)
committer
Amitay Isaacs
<amitay@gmail.com>
Tue, 22 Oct 2013 03:34:03 +0000
(14:34 +1100)
This reverts commit
4b0f32047e8bece0a052bdbe2209afe91b7e8ce3
.
This is not necessary. It just causes a memory leak.
Signed-off-by: Martin Schwenke <martin@meltin.net>
server/ctdb_recoverd.c
patch
|
blob
|
history
diff --git
a/server/ctdb_recoverd.c
b/server/ctdb_recoverd.c
index 381e998fb6b143034ec66626ebc45f35de8a0b6b..d0c1dae659dafd5d001ca1fa7a4de93ca01fa73d 100644
(file)
--- a/
server/ctdb_recoverd.c
+++ b/
server/ctdb_recoverd.c
@@
-1486,7
+1486,7
@@
static int recover_database(struct ctdb_recoverd *rec,
*/
static void reload_nodes_file(struct ctdb_context *ctdb)
{
- ctdb->nodes = NULL;
+
ctdb_load_nodes_file(ctdb);
}