[mod_portaudio] coverity CID 1024263 (Dereference before null check)
This commit is contained in:
parent
3ebeee61fb
commit
716a9febc1
|
@ -1296,9 +1296,9 @@ error:
|
||||||
}
|
}
|
||||||
switch_mutex_unlock(endpoint->mutex);
|
switch_mutex_unlock(endpoint->mutex);
|
||||||
}
|
}
|
||||||
if (new_session && *new_session) {
|
|
||||||
switch_core_session_destroy(new_session);
|
switch_core_session_destroy(new_session);
|
||||||
}
|
|
||||||
return retcause;
|
return retcause;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue