mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-12 12:18:18 +00:00
[mod_fsv] fix leak in read failure scenario
This commit is contained in:
parent
959e154623
commit
465344e8e3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user