mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02: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)
|
static int ftp_close_dir(URLContext *h)
|
||||||
{
|
{
|
||||||
FTPContext *s = h->priv_data;
|
FTPContext *s = h->priv_data;
|
||||||
av_free(s->dir_buffer);
|
av_freep(&s->dir_buffer);
|
||||||
ffurl_closep(&s->conn_control);
|
ffurl_closep(&s->conn_control);
|
||||||
ffurl_closep(&s->conn_data);
|
ffurl_closep(&s->conn_data);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user