mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 00:00:44 +00:00
Merge pull request #2104 from dragos-oancea/cov-mod_portaudio
[mod_portaudio] coverity CID 1024263 (Dereference before null check)
This commit is contained in:
commit
9eda0c41eb
@ -1296,9 +1296,9 @@ error:
|
||||
}
|
||||
switch_mutex_unlock(endpoint->mutex);
|
||||
}
|
||||
if (new_session && *new_session) {
|
||||
switch_core_session_destroy(new_session);
|
||||
}
|
||||
|
||||
switch_core_session_destroy(new_session);
|
||||
|
||||
return retcause;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user