Commit 2f468826 authored by Clément Bœsch's avatar Clément Bœsch

ffprobe: prefer av_freep() over av_free() for global print_format option.

It could be re-used for instance in case ffprobe would support multiple
input files.
parent f4eeb000
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment