diff options
author | Alexander Strasser <eclipse7@gmx.net> | 2014-08-20 00:41:55 +0200 |
---|---|---|
committer | Alexander Strasser <eclipse7@gmx.net> | 2014-08-26 00:52:29 +0200 |
commit | db85d11d9d880c932b13d37b5f1ca2bc9e3a253b (patch) | |
tree | 1f5f3689acdbfa39dc5f8b73a343038acd53b9f9 /libavformat/rso.c | |
parent | f75baa6c9b1784866f3ecd7ec2ee223644c38e7b (diff) | |
download | ffmpeg-db85d11d9d880c932b13d37b5f1ca2bc9e3a253b.tar.gz |
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: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Alexander Strasser <eclipse7@gmx.net>
Diffstat (limited to 'libavformat/rso.c')
0 files changed, 0 insertions, 0 deletions