Skip to content
Browse files

Fix: crmd: Clean up memory at exit

  • Loading branch information...
1 parent 4d9d6d8 commit a9d1231a3de0068be87b1f0d9927176d4de93718 @beekhof committed Mar 21, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 crmd/lrm.c
  2. +1 −0 lib/cluster/membership.c
View
1 crmd/lrm.c
@@ -1657,6 +1657,7 @@ verify_stopped(enum crmd_fsa_state cur_state, int log_level)
}
set_bit(fsa_input_register, R_SENT_RSC_STOP);
+ g_list_free(lrm_state_list);
return res;
}
View
1 lib/cluster/membership.c
@@ -151,6 +151,7 @@ destroy_crm_node(gpointer data)
free(node->uname);
free(node->state);
free(node->uuid);
+ free(node->expected);
free(node);
}

0 comments on commit a9d1231

Please sign in to comment.
Something went wrong with that request. Please try again.