Commit ddbb2e33 authored by Bradley Nicholes's avatar Bradley Nicholes
Browse files

Need to also free the cache node itself when destroying the cache. The

eliminates a memory leak on shutdown


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95321 13f79535-47bb-0310-9956-ffa450edef68
parent cb442b7d
Loading
Loading
Loading
Loading
+1 −0
Changes for modules/experimental/util_ldap_cache_mgr.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -351,6 +351,7 @@ void util_ald_destroy_cache(util_ald_cache_t *cache)
        }
    }
    util_ald_free(cache->nodes);
    util_ald_free(cache);
}

void *util_ald_cache_fetch(util_ald_cache_t *cache, void *payload)