MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / free_notification_data

Function free_notification_data

pengine/allocate.c:2164–2181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2162}
2163
2164void
2165free_notification_data(notify_data_t * n_data)
2166{
2167 if (n_data == NULL) {
2168 return;
2169 }
2170
2171 g_list_free_full(n_data->stop, free);
2172 g_list_free_full(n_data->start, free);
2173 g_list_free_full(n_data->demote, free);
2174 g_list_free_full(n_data->promote, free);
2175 g_list_free_full(n_data->master, free);
2176 g_list_free_full(n_data->slave, free);
2177 g_list_free_full(n_data->active, free);
2178 g_list_free_full(n_data->inactive, free);
2179 g_hash_table_destroy(n_data->keys);
2180 free(n_data);
2181}
2182
2183int transition_id = -1;
2184

Callers 2

clone_expandFunction · 0.85
native_stop_constraintsFunction · 0.85

Calls 1

g_list_free_fullFunction · 0.85

Tested by

no test coverage detected