| 200 | */ |
| 201 | |
| 202 | static apr_status_t cleanup_tables(void *not_used) |
| 203 | { |
| 204 | ap_log_error(APLOG_MARK, APLOG_INFO, 0, NULL, APLOGNO(01756) |
| 205 | "cleaning up shared memory"); |
| 206 | |
| 207 | if (client_rmm) { |
| 208 | apr_rmm_destroy(client_rmm); |
| 209 | client_rmm = NULL; |
| 210 | } |
| 211 | |
| 212 | if (client_shm) { |
| 213 | apr_shm_destroy(client_shm); |
| 214 | client_shm = NULL; |
| 215 | } |
| 216 | |
| 217 | if (client_lock) { |
| 218 | apr_global_mutex_destroy(client_lock); |
| 219 | client_lock = NULL; |
| 220 | } |
| 221 | |
| 222 | if (opaque_lock) { |
| 223 | apr_global_mutex_destroy(opaque_lock); |
| 224 | opaque_lock = NULL; |
| 225 | } |
| 226 | |
| 227 | client_list = NULL; |
| 228 | |
| 229 | return APR_SUCCESS; |
| 230 | } |
| 231 | |
| 232 | static void log_error_and_cleanup(char *msg, apr_status_t sts, server_rec *s) |
| 233 | { |
no test coverage detected