Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/ftp.c')
-rw-r--r--libavformat/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ftp.c b/libavformat/ftp.c
index 542cf6a862..5d007804fd 100644
--- a/libavformat/ftp.c
+++ b/libavformat/ftp.c
@@ -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;