Skip to content

Commit

Permalink
media_exchange: fix NULL check
Browse files Browse the repository at this point in the history
  • Loading branch information
l2dy committed Mar 16, 2020
1 parent 590a19f commit 375c8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/media_exchange/media_utils.c
Expand Up @@ -1175,7 +1175,7 @@ void media_exchange_event_received(enum b2b_entity_type et, str *key,
goto release;
}
msl = media_session_get_leg(ms, leg);
if (msl) {
if (!msl) {
LM_ERR("could not get media session leg!\n");
goto release;
}
Expand Down

0 comments on commit 375c8ea

Please sign in to comment.