TSG-15278 bugfix: memleak
This commit is contained in:
@@ -98,6 +98,12 @@ void session_ctx_free(struct session_ctx *session_ctx)
|
||||
{
|
||||
if (session_ctx)
|
||||
{
|
||||
if (session_ctx->session_addr)
|
||||
{
|
||||
free(session_ctx->session_addr);
|
||||
session_ctx->session_addr = NULL;
|
||||
}
|
||||
|
||||
if (session_ctx->decrypted_meta_i2e)
|
||||
{
|
||||
metadata_free(session_ctx->decrypted_meta_i2e);
|
||||
|
||||
Reference in New Issue
Block a user