Browse code

Merge f4aceb7806c5c61c105d0ab856f7f470bfc6086b into ebda78c92c21770af1a32afc2930740b80d73fd3

Atanas Bakalov authored on 18/09/2022 19:09:16 • GitHub committed on 18/09/2022 19:09:16
Showing 1 changed files
... ...
@@ -181,6 +181,8 @@ void async_aar_callback(int is_timeout, void *param, AAAMessage *aaa, long elaps
181 181
             STR_SHM_DUP(*passed_rx_session_id, aaa->sessionId->data, "cb_passed_rx_session_id");
182 182
             LM_DBG("passed rx session id [%.*s]", passed_rx_session_id->len, passed_rx_session_id->s);
183 183
             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);
184
+        } else {
185
+            unref_dlg(data->dlg, 1);
184 186
         }
185 187
         result = CSCF_RETURN_TRUE;
186 188
     } else {