From 4541e4dec2eb388b18ceb70d4617f38465b5a9f8 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Tue, 11 Mar 2025 09:08:20 +0100 Subject: [PATCH] MT#62253 AmSession: no dlg based loging when dlg gone If the dlg object is freed, then don't try to log things based on the call-id value taken from it. Just do slightly before. Change-Id: I09e865ca77d64c6c398cf8dc35c189e076fdb26d --- core/AmSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/AmSession.cpp b/core/AmSession.cpp index abfe48d6..494ac70d 100644 --- a/core/AmSession.cpp +++ b/core/AmSession.cpp @@ -100,9 +100,9 @@ AmSession::~AmSession() delete *evh; } - delete dlg; - ILOG_DLG(L_DBG, "AmSession destructor finished\n"); + + delete dlg; } AmSipDialog* AmSession::createSipDialog()