diff --git a/ffprobe.c b/ffprobe.c index 52b33f8b59..470001c406 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -842,7 +842,7 @@ static int probe_file(const char *filename) writer_close(&wctx); end: - av_free(print_format); + av_freep(&print_format); return ret; }