From 96523a9bef58b8a390df13a5ec2c1aa54e9d6642 Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Mon, 14 Apr 2014 15:04:06 -0500 Subject: [PATCH] mod_skinny: fix leak --- src/mod/endpoints/mod_skinny/mod_skinny.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_skinny/mod_skinny.c b/src/mod/endpoints/mod_skinny/mod_skinny.c index c86c6f1885..3d6c52dd38 100644 --- a/src/mod/endpoints/mod_skinny/mod_skinny.c +++ b/src/mod/endpoints/mod_skinny/mod_skinny.c @@ -2176,6 +2176,7 @@ static switch_status_t load_skinny_config(void) } } /* param */ switch_core_hash_insert(profile->device_type_params_hash, id_str, params); + switch_safe_free(id_str); } else { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Unknow device type %s in profile %s.\n", switch_xml_attr_soft(xdevice_type, "id"), profile->name);