mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-06 18:30:01 +00:00
FS-6374 --resolve mod_rayo sendfax was using uninitialized memory pool
This commit is contained in:
parent
769a03a629
commit
15e181780d
@ -129,7 +129,7 @@ static iks *start_sendfax_component(struct rayo_actor *call, struct rayo_message
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* does document exist? */
|
/* does document exist? */
|
||||||
if (switch_file_exists(fax_document, pool) != SWITCH_STATUS_SUCCESS) {
|
if (switch_file_exists(fax_document, NULL) != SWITCH_STATUS_SUCCESS) {
|
||||||
return iks_new_error_detailed_printf(iq, STANZA_ERROR_BAD_REQUEST, "file not found: %s", fax_document);
|
return iks_new_error_detailed_printf(iq, STANZA_ERROR_BAD_REQUEST, "file not found: %s", fax_document);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user