| 2132 | } |
| 2133 | |
| 2134 | static void mod_destroy(void) |
| 2135 | { |
| 2136 | if (default_rtpe_set) |
| 2137 | shm_free(default_rtpe_set); |
| 2138 | |
| 2139 | if(!rtpe_set_list || *rtpe_set_list == NULL) |
| 2140 | return; |
| 2141 | |
| 2142 | free_rtpe_sets(); |
| 2143 | shm_free(*rtpe_set_list); |
| 2144 | shm_free(rtpe_set_list); |
| 2145 | |
| 2146 | if (rtpe_lock) { |
| 2147 | lock_destroy_rw(rtpe_lock); |
| 2148 | rtpe_lock = NULL; |
| 2149 | } |
| 2150 | } |
| 2151 | |
| 2152 | |
| 2153 |
nothing calls this directly
no test coverage detected