]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Unlikely potential memory leak.
authorChristophe Jaillet <jailletc36@apache.org>
Wed, 17 Jul 2013 20:51:18 +0000 (20:51 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Wed, 17 Jul 2013 20:51:18 +0000 (20:51 +0000)
Point 12 of PR 54936

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1504276 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap_cache.c

index 87642e114a70dfa42523be755ef943401579293f..b1346f05121c41c76cc11b6e9cbc4434a2c41777 100644 (file)
@@ -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;