[FFmpeg-trac] #3194(avcodec:open): valgrind leak on example package (leaking global lock manager mutex at exit)
FFmpeg
trac at avcodec.org
Fri Jan 22 16:56:52 CET 2016
#3194: valgrind leak on example package (leaking global lock manager mutex at
exit)
-------------------------------------+-------------------------------------
Reporter: andreyv | Owner:
Type: defect | er.anshul.maheshwari@…
Priority: minor | Status: open
Version: git-master | Component: avcodec
Keywords: leak | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 1 | Reproduced by developer: 1
-------------------------------------+-------------------------------------
Comment (by jyavenard):
calling av_lockmgr_register(nullptr) solved the problem, it will de-
allocate the mutexes
This API exists on pretty much all version of libavcodec, why not use that
instead?
nicer than a new ff_destroy_lock_avcodec function.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3194#comment:17>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list