Skip to content
Snippets Groups Projects
Commit db85d11d authored by Alexander Strasser's avatar Alexander Strasser
Browse files

libavformat/ftp: Do not leak memory in routine ftp_features


Setting the pointer to NULL inside both ftp_send_command
and ftp_features is redundant. Generally always setting to
NULL in ftp_send_command seems safer, but throughout the file
that parameter was always passed initialized. So I do it here
too for consistency.

Should fix CID1231988 (RESOURCE_LEAK)

OKed-by: default avatarLukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: default avatarAlexander Strasser <eclipse7@gmx.net>
parent f75baa6c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment