git.samba.org
/
amitay
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5aee1e6
)
freeze: simplify code with TALLOC_FREE
2.5-recovery
author
Amitay Isaacs
<amitay@gmail.com>
Thu, 28 Aug 2014 06:59:52 +0000
(16:59 +1000)
committer
Amitay Isaacs
<amitay@gmail.com>
Tue, 3 Mar 2015 01:28:55 +0000
(12:28 +1100)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
server/ctdb_freeze.c
patch
|
blob
|
history
diff --git
a/server/ctdb_freeze.c
b/server/ctdb_freeze.c
index 85114d72724981947dc7e2be3bc05f21ba6623c3..f60f544eb15f8dd36893f3a3b51437720dbdf83c 100644
(file)
--- a/
server/ctdb_freeze.c
+++ b/
server/ctdb_freeze.c
@@
-549,10
+549,6
@@
static void thaw_priority(struct ctdb_context *ctdb, uint32_t priority)
}
ctdb_db_prio_iterator(ctdb, priority, db_thaw_handler, NULL);
- if (ctdb->freeze_handles[priority] != NULL) {
- talloc_free(ctdb->freeze_handles[priority]);
- ctdb->freeze_handles[priority] = NULL;
- }
TALLOC_FREE(ctdb->freeze_handles[priority]);
}