Browse code

Merge 39286f99964f601ee2006a35fb8951b20fb9d531 into 8718fb447b0d5d53a0eeb5b21ed6f8d1766cb21b

Atanas Bakalov authored on 23/05/2022 06:34:11 • GitHub committed on 23/05/2022 06:34:11
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 {