summaryrefslogtreecommitdiff
path: root/avprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'avprobe.c')
-rw-r--r--avprobe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/avprobe.c b/avprobe.c
index 2ab8ce0a61..63e6c2a694 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -1025,7 +1025,8 @@ int main(int argc, char **argv)
ret = probe_file(input_filename);
probe_footer();
avio_flush(probe_out);
- avio_close(probe_out);
+ av_freep(&probe_out);
+ av_freep(&buffer);
avformat_network_deinit();