提交 bdfc02f2 authored 作者: Bob McCarthy's avatar Bob McCarthy

FS-10808 [mod_sofia] Fix memory leak in SLA

上级 8f10ae54
......@@ -3634,6 +3634,8 @@ static int sync_sla(sofia_profile_t *profile, const char *to_user, const char *t
sofia_glue_execute_sql_callback(profile, profile->dbh_mutex, sql, broadsoft_sla_notify_callback, sh);
switch_safe_free(sql);
total = sh->total;
switch_core_hash_destroy(&sh->hash);
sh = NULL;
switch_core_destroy_memory_pool(&pool);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论