diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2011-12-15 19:51:38 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2011-12-22 10:09:51 +0100 |
commit | acb67c5bbc792e68cbfea750dc110c57c021a6c5 (patch) | |
tree | 7352c37b5a6960434ac2cd3471eb4e1c1bb6ff1b /libavdevice/lavfi.c | |
parent | 386aee6864c5cfc438785d2421b2f056450da014 (diff) | |
download | ffmpeg-streaming-acb67c5bbc792e68cbfea750dc110c57c021a6c5.zip ffmpeg-streaming-acb67c5bbc792e68cbfea750dc110c57c021a6c5.tar.gz |
lavd/lavfi: fix two memleaks.
Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
Diffstat (limited to 'libavdevice/lavfi.c')
-rw-r--r-- | libavdevice/lavfi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index b042782..4f91a4b 100644 --- a/libavdevice/lavfi.c +++ b/libavdevice/lavfi.c @@ -71,6 +71,7 @@ av_cold static int lavfi_read_close(AVFormatContext *avctx) av_freep(&lavfi->sink_stream_map); av_freep(&lavfi->stream_sink_map); + av_freep(&lavfi->sinks); avfilter_graph_free(&lavfi->graph); return 0; @@ -254,6 +255,7 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx, } end: + av_free(pix_fmts); avfilter_inout_free(&input_links); avfilter_inout_free(&output_links); if (ret < 0) |