Skip to content

Commit

Permalink
b2b_logic: fix crash when b2b_trigger_scenario fails to init scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
rvlad-patrascu committed Sep 16, 2021
1 parent e17f819 commit 586a4a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/b2b_logic/b2b_logic.c
Expand Up @@ -1014,8 +1014,6 @@ mi_response_t *mi_trigger_scenario(const mi_params_t *params,

if (b2bl_bridge_extern(&init_params, &scen_params, e1_id, e2_id,
0, 0, 0) == NULL) {
free_csv_record(list1);
free_csv_record(list2);
resp = init_mi_error(500, MI_SSTR("Failed to initialize scenario"));
goto end;
}
Expand Down

0 comments on commit 586a4a2

Please sign in to comment.