httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1504276 - /httpd/httpd/trunk/modules/ldap/util_ldap_cache.c
Date Wed, 17 Jul 2013 20:51:18 GMT
Author: jailletc36
Date: Wed Jul 17 20:51:18 2013
New Revision: 1504276

URL: http://svn.apache.org/r1504276
Log:
Unlikely potential memory leak.
Point 12 of PR 54936

Modified:
    httpd/httpd/trunk/modules/ldap/util_ldap_cache.c

Modified: httpd/httpd/trunk/modules/ldap/util_ldap_cache.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ldap/util_ldap_cache.c?rev=1504276&r1=1504275&r2=1504276&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ldap/util_ldap_cache.c (original)
+++ httpd/httpd/trunk/modules/ldap/util_ldap_cache.c Wed Jul 17 20:51:18 2013
@@ -52,7 +52,7 @@ void *util_ldap_url_node_copy(util_ald_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;



Mime
View raw message