mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-01 11:02:53 +00:00
CID:1294501: possible null deref
This commit is contained in:
parent
d44ea400d5
commit
6ddf5a1bdf
@ -1608,7 +1608,9 @@ SWITCH_DECLARE(switch_status_t) switch_img_scale(switch_image_t *src, switch_ima
|
||||
return SWITCH_STATUS_FALSE;
|
||||
}
|
||||
|
||||
*destP = dest;
|
||||
if (destP) {
|
||||
*destP = dest;
|
||||
}
|
||||
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user