优化Application metrics中间状态的空间,结构大小节约102字节

This commit is contained in:
liuxueli
2023-06-09 20:57:40 +08:00
parent 692fa4b3a3
commit 3dea0f5399
4 changed files with 111 additions and 113 deletions

View File

@@ -135,10 +135,15 @@ void session_runtime_action_context_free(const struct streaminfo *a_stream, int
}
}
if (srt_action_context->l4_protocol != NULL)
if(srt_action_context->l4_protocol != NULL)
{
dictator_free(a_stream->threadnum, srt_action_context->l4_protocol);
}
if(srt_action_context->last_traffic_statis != NULL)
{
dictator_free(a_stream->threadnum, srt_action_context->last_traffic_statis);
}
dictator_free(a_stream->threadnum, data);
data=NULL;