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

FFmpeg trac at avcodec.org
Sat Aug 17 10:32:32 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           |
------------------------------------+-----------------------------------

Comment (by thilo.borgmann):

 Replying to [comment:6 vinxxe]:
 > ...buggy is your brain...

 Forgot your manners?

 The bug reported is fixed in cba9a40d47aefc6853ca6bb8d72096079baac50c, see
 the log yourself.

 The missing avcodec_close() is for sure just mentioned for the case
 anybody uses this snipped as a code example to work on...

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


More information about the FFmpeg-trac mailing list