]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6374 --resolve mod_rayo sendfax was using uninitialized memory pool
authorChris Rienzo <chris.rienzo@grasshopper.com>
Tue, 18 Mar 2014 19:21:27 +0000 (15:21 -0400)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Tue, 18 Mar 2014 19:21:45 +0000 (15:21 -0400)
src/mod/event_handlers/mod_rayo/rayo_fax_components.c

index e787dbe9e5cc6912b3fa31b39894e8af0334f3cf..2032feed5518abaa3f4b50393adae6b31dbc3735 100644 (file)
@@ -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);
        }