[mod_fsv] fix leak in read failure scenario
This commit is contained in:
parent
b7341da95e
commit
cd7ea3a542
|
@ -997,6 +997,7 @@ again:
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,
|
||||||
"read error status=%d size=%u read_size=%" SWITCH_SIZE_T_FMT "\n",
|
"read error status=%d size=%u read_size=%" SWITCH_SIZE_T_FMT "\n",
|
||||||
status, size, read_size);
|
status, size, read_size);
|
||||||
|
free(video_data);
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue