]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Don't try to use the LDAP cache if it has been turned off. Make sure that we
authorBradley Nicholes <bnicholes@apache.org>
Mon, 24 Feb 2003 23:22:03 +0000 (23:22 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Mon, 24 Feb 2003 23:22:03 +0000 (23:22 +0000)
commit8f98a37bc4d7aba9e2929257d02c6df83a23349e
treeb681bfcb34c8711f7980de466ec60d2a8f150c97
parent26558e11653bbad94329210fb4aa6c8091959b10
Don't try to use the LDAP cache if it has been turned off.  Make sure that we
have a "curl" before trying to use it.  If caching has been turned off then the
curl variable will be NULL.  This fixes a problem where LDAP caching would
fault when caching was disabled.

This also fixes some memory leaks due to not freeing resources when error
conditions occur.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@98786 13f79535-47bb-0310-9956-ffa450edef68
modules/experimental/util_ldap.c