Skip to content

Commit

Permalink
Fix a reference to an uninitialized pointer in util_ldap_cache_init().
Browse files Browse the repository at this point in the history
PR:                12091
Submitted by:      Jess Holle <jessh@ptc.com>
Reviewed by:	   Jeff Trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96559 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
trawick committed Aug 28, 2002
1 parent ecf18a4 commit 1b48bb3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/experimental/util_ldap_cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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

Expand Down

0 comments on commit 1b48bb3

Please sign in to comment.