mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Don't attempt to remove the cache_file if one was never specified.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156665 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -394,7 +394,9 @@ apr_status_t util_ldap_cache_module_kill(void *data)
|
|||||||
if (st->cache_shm != NULL) {
|
if (st->cache_shm != NULL) {
|
||||||
apr_status_t result = apr_shm_destroy(st->cache_shm);
|
apr_status_t result = apr_shm_destroy(st->cache_shm);
|
||||||
st->cache_shm = NULL;
|
st->cache_shm = NULL;
|
||||||
apr_file_remove(st->cache_file, st->pool);
|
if (st->cache_file) {
|
||||||
|
apr_file_remove(st->cache_file, st->pool);
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user