[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 12:41:56 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):
You've made a valueable contribution in reporting this bug.
Even more to such detailed information and doing well in finding the
memleak.
However, you've just taken the follow-ups too personal.
The reply from Cigaes has nothing to do with the bug itself and I consider
it just bikeshedding.
Nevertheless you treated that statement like a proposal to fix your bug
(but you should have already known better at that time).
Miachael just fixed your bug. His note is more a hint that even this
example might have been implemented cleaner (avcodec_close() is mentioned
as an example there) - most likely, as I said, not that your example will
be used by others as-is.
Please continue contributing!
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2216#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list