From: Jeff Trawick Date: Wed, 28 Aug 2002 19:16:00 +0000 (+0000) Subject: Fix a reference to an uninitialized pointer in util_ldap_cache_init(). X-Git-Tag: AGB_BEFORE_AAA_CHANGES~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2974ba6d820bb7885f6815b9c34a9fbe1d8823c3;p=apache Fix a reference to an uninitialized pointer in util_ldap_cache_init(). PR: 12091 Submitted by: Jess Holle Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96559 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/util_ldap_cache.c b/modules/experimental/util_ldap_cache.c index 0414f4d4e7..47b0ff17ae 100644 --- a/modules/experimental/util_ldap_cache.c +++ b/modules/experimental/util_ldap_cache.c @@ -292,8 +292,6 @@ apr_status_t util_ldap_cache_module_kill(void *data) apr_status_t util_ldap_cache_init(apr_pool_t *pool, apr_size_t reqsize) { - apr_anylock_t rmm_lock; - #if APR_HAS_SHARED_MEMORY apr_status_t result; @@ -303,7 +301,7 @@ apr_status_t util_ldap_cache_init(apr_pool_t *pool, apr_size_t reqsize) } /* This will create a rmm "handler" to get into the shared memory area */ - apr_rmm_init(&util_ldap_rmm, &rmm_lock, + apr_rmm_init(&util_ldap_rmm, NULL, (void *)apr_shm_baseaddr_get(util_ldap_shm), reqsize, pool); #endif