| 1379 | } |
| 1380 | |
| 1381 | static void destroy(void) |
| 1382 | { |
| 1383 | /* destroy data */ |
| 1384 | if (cluster_list) { |
| 1385 | if (*cluster_list) |
| 1386 | free_info(*cluster_list); |
| 1387 | shm_free(cluster_list); |
| 1388 | cluster_list = NULL; |
| 1389 | } |
| 1390 | |
| 1391 | /* destroy lock */ |
| 1392 | if (cl_list_lock) { |
| 1393 | lock_destroy_rw(cl_list_lock); |
| 1394 | cl_list_lock = NULL; |
| 1395 | } |
| 1396 | |
| 1397 | /* free evi events */ |
| 1398 | gen_rcv_evs_destroy(); |
| 1399 | node_state_ev_destroy(); |
| 1400 | } |
| 1401 | |
| 1402 | int load_clusterer(struct clusterer_binds *binds) |
| 1403 | { |
nothing calls this directly
no test coverage detected