From: Chris Rienzo Date: Tue, 25 Jun 2013 02:12:24 +0000 (-0400) Subject: mod_http_cache: valgrind fixes X-Git-Tag: v1.5.2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cac8536170ff8fd7a139a08bb46021be194d9c4e;p=thirdparty%2Ffreeswitch.git mod_http_cache: valgrind fixes --- diff --git a/src/mod/applications/mod_http_cache/mod_http_cache.c b/src/mod/applications/mod_http_cache/mod_http_cache.c index 30eb0332c4..0802054e32 100644 --- a/src/mod/applications/mod_http_cache/mod_http_cache.c +++ b/src/mod/applications/mod_http_cache/mod_http_cache.c @@ -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; }