]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_http_cache: valgrind fixes
authorChris Rienzo <chris.rienzo@grasshopper.com>
Tue, 25 Jun 2013 02:12:24 +0000 (22:12 -0400)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Tue, 25 Jun 2013 02:19:54 +0000 (22:19 -0400)
src/mod/applications/mod_http_cache/mod_http_cache.c

index 30eb0332c46fdd9b646071074ecb9f00d7648a5e..0802054e32dafd7a81711dd205d0c3e54992bede 100644 (file)
@@ -1625,6 +1625,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_http_cache_shutdown)
 
        url_cache_clear(&gcache, NULL);
        switch_core_hash_destroy(&gcache.map);
+       switch_core_hash_destroy(&gcache.profiles);
        switch_mutex_destroy(gcache.mutex);
        return SWITCH_STATUS_SUCCESS;
 }