diff options
author | Corey Farrell <git@cfware.com> | 2018-01-04 17:07:03 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2018-01-04 17:07:03 -0500 |
commit | 0f141351f9287173cf872f0cd24cada95903f361 (patch) | |
tree | 881dfcba4175549ef0c3d17aa7306a3584f0fe18 /bridges/bridge_native_rtp.c | |
parent | b8271826b358afd887f9476201fb7fdf12b7119c (diff) |
pbx: Prevent execution of NULL pointer.
pbx_extension_helper has a check for q->swo.exec == NULL but it doesn't
actually return so we would still run the function. Fix the return.
Move the 'int res' variable into the only scope which uses it.
Change-Id: I0693af921fdc7f56b6a72a21fb816ed08b960a69
Diffstat (limited to 'bridges/bridge_native_rtp.c')
0 files changed, 0 insertions, 0 deletions