diff options
-rw-r--r-- | ctdb/include/ctdb_private.h | 1 | ||||
-rw-r--r-- | ctdb/server/ctdb_server.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 419cd7fc86..ff007a8ac6 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -375,7 +375,6 @@ struct ctdb_context { const char *db_directory; const char *db_directory_persistent; const char *transport; - char *node_list_file; char *recovery_lock_file; int recovery_lock_fd; uint32_t pnn; /* our own pnn */ diff --git a/ctdb/server/ctdb_server.c b/ctdb/server/ctdb_server.c index d9a32347ce..a701f753fb 100644 --- a/ctdb/server/ctdb_server.c +++ b/ctdb/server/ctdb_server.c @@ -145,9 +145,6 @@ int ctdb_set_nlist(struct ctdb_context *ctdb, const char *nlist) ctdb->nodes = NULL; ctdb->num_nodes = 0; - talloc_free(ctdb->node_list_file); - ctdb->node_list_file = talloc_strdup(ctdb, nlist); - lines = file_lines_load(nlist, &nlines, ctdb); if (lines == NULL) { ctdb_set_error(ctdb, "Failed to load nlist '%s'\n", nlist); |