MCPcopy Create free account
hub / github.com/apache/httpd / cleanup_tables

Function cleanup_tables

modules/aaa/mod_auth_digest.c:202–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 */
201
202static 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
232static void log_error_and_cleanup(char *msg, apr_status_t sts, server_rec *s)
233{

Callers 1

log_error_and_cleanupFunction · 0.85

Calls 1

ap_log_errorFunction · 0.50

Tested by

no test coverage detected