From: Chris Rienzo Date: Tue, 18 Mar 2014 19:21:27 +0000 (-0400) Subject: FS-6374 --resolve mod_rayo sendfax was using uninitialized memory pool X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15e181780d632b9dc4de0ea080e400ca0a8c5566;p=thirdparty%2Ffreeswitch.git FS-6374 --resolve mod_rayo sendfax was using uninitialized memory pool --- diff --git a/src/mod/event_handlers/mod_rayo/rayo_fax_components.c b/src/mod/event_handlers/mod_rayo/rayo_fax_components.c index e787dbe9e5..2032feed55 100644 --- a/src/mod/event_handlers/mod_rayo/rayo_fax_components.c +++ b/src/mod/event_handlers/mod_rayo/rayo_fax_components.c @@ -129,7 +129,7 @@ static iks *start_sendfax_component(struct rayo_actor *call, struct rayo_message } /* 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); }