From cd7ea3a5428f9b6ca78ac944ada1043333c45837 Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Mon, 8 Jun 2020 11:07:48 -0600 Subject: [PATCH] [mod_fsv] fix leak in read failure scenario --- src/mod/applications/mod_fsv/mod_fsv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/applications/mod_fsv/mod_fsv.c b/src/mod/applications/mod_fsv/mod_fsv.c index 6ff6533ddd..90d64972ad 100644 --- a/src/mod/applications/mod_fsv/mod_fsv.c +++ b/src/mod/applications/mod_fsv/mod_fsv.c @@ -997,6 +997,7 @@ again: switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "read error status=%d size=%u read_size=%" SWITCH_SIZE_T_FMT "\n", status, size, read_size); + free(video_data); goto end; }