※ リポジトリは、pm-diskd ブランチが https://github.com/linux-ha-japan/pm_diskd-1.0 へ、pm-diskd-2.0ブランチが https://github.com/linux-ha-japan/pm_diskd へ移行しました。
Pacemaker 対応ディスク故障監視機能。
Pacemaker-1.0公式リポジトリのクローンに対し、パッチ作成用のブランチを作成して管理する。
ブランチ名: pm-diskd
初回 hg clone 実行後は、hg update -r pm-diskd を実行すること。
Heartbeat-2.1.4 用 hb-diskd(*) のPacemaker対応版
(*) http://sourceforge.jp/projects/linux-ha/releases/?package_id=10555
Revision | f9e670ed8dc862ba93b7bded03e00185f574937a (tree) |
---|---|
Time | 2010-03-29 19:13:17 |
Author | Keisuke MORI <kskmori@inte...> |
Commiter | Keisuke MORI |
High: crmd: Fix memory leaks exposed by valgrind
@@ -162,7 +162,11 @@ | ||
162 | 162 | crm_err("Cannot fence %s: stonithd_node_fence() call failed ", |
163 | 163 | target); |
164 | 164 | } |
165 | - | |
165 | + | |
166 | + crm_free(st_op->node_name); | |
167 | + crm_free(st_op->node_uuid); | |
168 | + crm_free(st_op->private_data); | |
169 | + crm_free(st_op); | |
166 | 170 | return TRUE; |
167 | 171 | } |
168 | 172 |
@@ -265,6 +265,10 @@ | ||
265 | 265 | if(cancelled == NULL) { |
266 | 266 | crm_debug("No match for deleted action %s (%s on %s)", rsc_op_xpath, op_id, node); |
267 | 267 | abort_transition(INFINITY, tg_restart, "Resource op removal", match); |
268 | + if(op_match) { | |
269 | + xmlXPathFreeObject(op_match); | |
270 | + } | |
271 | + crm_free(rsc_op_xpath); | |
268 | 272 | goto bail; |
269 | 273 | |
270 | 274 | } else { |