TSG-13844: 修复内存泄漏的问题

This commit is contained in:
liuxueli
2023-02-20 15:05:26 +08:00
parent 9feef2359a
commit 873b2a5a29
2 changed files with 11 additions and 0 deletions

View File

@@ -34,6 +34,12 @@ void free_context_label(const struct streaminfo *a_stream, int bridge_id, void *
context->mid=NULL;
}
if(context->hited_result!=NULL)
{
dictator_free(a_stream->threadnum, (void *)context->hited_result);
context->hited_result=NULL;
}
dictator_free(a_stream->threadnum, (void *)context);
context=NULL;
}