Skip to content

Commit

Permalink
Fix: PE: Memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhof committed Apr 15, 2014
1 parent cfd845f commit 73f7b1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pengine/utils.c
Expand Up @@ -1914,6 +1914,8 @@ pe_fence_op(node_t * node, const char *op, bool optional, pe_working_set_t * dat
add_hash_param(stonith_op->meta, XML_LRM_ATTR_TARGET, node->details->uname);
add_hash_param(stonith_op->meta, XML_LRM_ATTR_TARGET_UUID, node->details->id);
add_hash_param(stonith_op->meta, "stonith_action", op);
} else {
free(key);
}

if(optional == FALSE) {
Expand Down

0 comments on commit 73f7b1d

Please sign in to comment.