mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-03 02:58:02 +00:00
avformat/ftp: Use av_freep() for dir_buffer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
ee44cb3c81
commit
55a07cf49c
@ -964,7 +964,7 @@ static int ftp_read_dir(URLContext *h, AVIODirEntry **next)
|
||||
static int ftp_close_dir(URLContext *h)
|
||||
{
|
||||
FTPContext *s = h->priv_data;
|
||||
av_free(s->dir_buffer);
|
||||
av_freep(&s->dir_buffer);
|
||||
ffurl_closep(&s->conn_control);
|
||||
ffurl_closep(&s->conn_data);
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user