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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user