1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

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
This commit is contained in:
Christophe Jaillet
2013-07-17 20:51:18 +00:00
parent a4b8cb7b5d
commit 5b59b08a35

View 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;