提交 96523a9b authored 作者: Nathan Neulinger's avatar Nathan Neulinger

mod_skinny: fix leak

上级 93a84cf1
......@@ -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);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论