[vlc-devel] [PATCH] RIST access_output: fix mem leak that occured when socket creation failed
thomas at gllm.fr
Wed Nov 28 11:22:26 CET 2018
You should also close flow sockets on error.
Note: rist_init_tx() should initiliaze all FDs to -1 (since 0 is valid).
Then you can add "if (flow->fd_out != -1) vlc_close(flow->fd_out)"; from the error handling.
On Tue, Nov 27, 2018, at 13:53, Sergio M. Ammirata wrote:
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> Email had 1 attachment:
> + 0001-RIST-access_output-fix-mem-leak-that-occured-when-so.patch
> 2k (text/plain)
More information about the vlc-devel