summaryrefslogtreecommitdiffstats
path: root/modules/ldap
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2013-07-17 22:51:18 +0200
committerChristophe Jaillet <jailletc36@apache.org>2013-07-17 22:51:18 +0200
commit5b59b08a35b88becfc96b261919a5c884998a5cc (patch)
tree8e5b217323b02da1c65433d290bb9000b15a449d /modules/ldap
parentPotential use of uninitialized memory. (diff)
downloadapache2-5b59b08a35b88becfc96b261919a5c884998a5cc.tar.xz
apache2-5b59b08a35b88becfc96b261919a5c884998a5cc.zip
Unlikely potential memory leak.
Point 12 of PR 54936 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1504276 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ldap')
-rw-r--r--modules/ldap/util_ldap_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ldap/util_ldap_cache.c b/modules/ldap/util_ldap_cache.c
index 87642e114a..b1346f0512 100644
--- a/modules/ldap/util_ldap_cache.c
+++ b/modules/ldap/util_ldap_cache.c
@@ -52,7 +52,7 @@ void *util_ldap_url_node_copy(util_ald_cache_t *cache, void *c)
if (node) {
if (!(node->url = util_ald_strdup(cache, n->url))) {
- util_ald_free(cache, node->url);
+ util_ald_free(cache, node);
return NULL;
}
node->search_cache = n->search_cache;