41a6c3
--- a/modules/ldap/util_ldap_cache.c 2013/08/19 11:41:29 1515371
41a6c3
+++ b/modules/ldap/util_ldap_cache.c 2013/08/19 11:45:19 1515372
41a6c3
@@ -52,7 +52,7 @@
41a6c3
 
41a6c3
     if (node) {
41a6c3
         if (!(node->url = util_ald_strdup(cache, n->url))) {
41a6c3
-            util_ald_free(cache, node->url);
41a6c3
+            util_ald_free(cache, node);
41a6c3
             return NULL;
41a6c3
         }
41a6c3
         node->search_cache = n->search_cache;