From 15e181780d632b9dc4de0ea080e400ca0a8c5566 Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Tue, 18 Mar 2014 15:21:27 -0400 Subject: [PATCH] FS-6374 --resolve mod_rayo sendfax was using uninitialized memory pool --- src/mod/event_handlers/mod_rayo/rayo_fax_components.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.47.2