Browse code

Merge 39286f99964f601ee2006a35fb8951b20fb9d531 into 490eb07a75567c91f20beaa4833f1df10a9cab1f

Atanas Bakalov authored on 12/05/2022 18:36:20 • GitHub committed on 12/05/2022 18:36:20
Showing 1 changed files
... ...
@@ -180,6 +180,8 @@ void async_aar_callback(int is_timeout, void *param, AAAMessage *aaa, long elaps
180 180
             STR_SHM_DUP(*passed_rx_session_id, aaa->sessionId->data, "cb_passed_rx_session_id");
181 181
             LM_DBG("passed rx session id [%.*s]", passed_rx_session_id->len, passed_rx_session_id->s);
182 182
             dlgb.register_dlgcb_nodlg( data->dlg, DLGCB_TERMINATED | DLGCB_DESTROY | DLGCB_EXPIRED | DLGCB_RESPONSE_WITHIN | DLGCB_CONFIRMED | DLGCB_FAILED, callback_dialog, (void*) (passed_rx_session_id), free_dialog_data);
183
+        } else {
184
+            unref_dlg(data->dlg, 1);
183 185
         }
184 186
         result = CSCF_RETURN_TRUE;
185 187
     } else {