summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/src/tfe_packet_io.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/src/tfe_packet_io.cpp b/common/src/tfe_packet_io.cpp
index 8895b62..e829e22 100644
--- a/common/src/tfe_packet_io.cpp
+++ b/common/src/tfe_packet_io.cpp
@@ -246,6 +246,12 @@ static void session_ctx_free(struct session_ctx *ctx)
{
if (ctx)
{
+ if (ctx->session_addr)
+ {
+ free(ctx->session_addr);
+ ctx->session_addr = NULL;
+ }
+
if (ctx->cmsg)
{
tfe_cmsg_destroy(ctx->cmsg);