[FFmpeg-trac] #2216(avcodec:closed): memory leak in calling avcodec_alloc_context3 and then avcodec_copy_context

FFmpeg trac at avcodec.org
Tue Aug 13 15:30:42 CEST 2013


#2216: memory leak in calling avcodec_alloc_context3 and then avcodec_copy_context
------------------------------------+-----------------------------------
             Reporter:  vinxxe      |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:  fixed
             Keywords:  leak        |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  1           |
------------------------------------+-----------------------------------
Changes (by michael):

 * status:  new => closed
 * version:  1.1.1 => git-master
 * resolution:   => fixed


Comment:

 Fixed in cba9a40d47aefc6853ca6bb8d72096079baac50c

 Note, the example code is buggy and is missing needed cleanup like
 avcodec_close()

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2216#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list