Merge pull request #339 from dragos-oancea/switch_ivr_async-nullptr

[core] scan-build: Dereference of null pointer (loaded from variable 'result') - switch_ivr_play_and_detect_speech()
This commit is contained in:
Andrey Volk authored and GitHub committed 2020-02-12 22:54:23 +04:00
commit 718c5f56a5
1 file changed
+3 -1
+3 -1
View File
@@ -4624,7 +4624,9 @@ done:
if (state.done) {
status = SWITCH_STATUS_SUCCESS;
}
*result = state.result;
if (result) {
*result = state.result;
}
arg_recursion_check_stop(args);