[FFmpeg-trac] #7630(avformat:closed): Memory leak in avformat_free_context

FFmpeg trac at avcodec.org
Wed Dec 19 19:13:14 EET 2018

#7630: Memory leak in avformat_free_context
             Reporter:  Ace17        |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:  invalid
             Keywords:  leak         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
Changes (by cehoyos):

 * keywords:  valgrind leak avformat_init_output av_write_trailer => leak
 * resolution:   => invalid
 * status:  new => closed
 * component:  undetermined => avformat


 `avformat_write_header()` will obviously allocate resources at least for
 some formats: These can only be freed by calling `av_write_trailer()`, how
 else could this work?

 If you really want to suggest such an API change, please write a patch and
 send it to the development mailing list.

Ticket URL: <https://trac.ffmpeg.org/ticket/7630#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list