1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-20 07:48:15 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt 0dd79193a7 avcodec/qtrleenc: Fix memleak upon allocation failure
The qtrle encoder allocates several buffers and an AVFrame in its init
function. If one of these allocations fails, but others succeed, the
successfully allocated objects leak. This is fixed by setting the
FF_CODEC_CAP_INIT_CLEANUP flag.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 2a71cbeb019fabd70f04ca9d2ec5d0bff3b3e3d2)
2021-02-27 07:20:57 +01:00
..
2020-02-07 13:36:57 -03:00
2020-05-27 22:13:39 +02:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:21 +01:00
2020-05-30 18:02:55 +02:00
2020-05-30 18:02:55 +02:00
2020-03-12 20:26:48 +00:00
2020-03-12 20:26:48 +00:00
2020-05-21 09:31:08 +02:00
2019-11-13 09:08:43 -08:00
2020-02-22 00:15:43 +01:00
2021-02-02 14:18:21 +01:00
2019-12-05 20:20:05 +01:00
2020-03-22 11:55:44 -03:00
2020-04-26 18:38:25 +01:00
2020-03-17 16:07:25 +01:00
2020-06-05 18:14:17 +02:00
2020-06-14 22:02:34 +02:00
2019-08-29 21:04:54 +02:00
2020-04-26 18:38:25 +01:00
2019-12-10 16:09:14 +01:00
2020-01-11 23:31:18 +01:00
2021-02-02 14:18:21 +01:00
2021-02-20 14:21:24 +01:00
2020-05-19 20:09:25 +02:00
2020-05-12 01:00:28 +02:00
2019-09-02 13:46:11 -07:00
2020-05-26 10:52:12 +01:00
2020-05-26 10:52:12 +01:00
2020-05-26 10:52:12 +01:00
2020-06-14 22:02:34 +02:00
2020-06-08 20:45:56 +02:00
2020-05-30 18:02:55 +02:00
2020-07-09 12:35:39 +02:00
2019-10-22 10:51:42 +08:00
2020-02-19 22:37:30 +01:00
2020-04-26 18:38:25 +01:00
2020-01-30 19:57:25 +01:00
2019-08-23 22:24:07 +02:00
2020-04-04 23:26:15 +02:00
2020-05-22 22:23:18 +02:00
2021-02-02 14:18:20 +01:00
2021-02-02 14:18:21 +01:00
2021-02-02 14:18:20 +01:00
2021-02-02 14:18:20 +01:00
2020-01-13 23:26:25 +00:00
2019-11-09 17:59:03 +01:00
2020-06-08 01:22:34 +02:00
2020-01-11 23:31:18 +01:00
2020-04-26 18:38:25 +01:00
2019-10-25 00:22:33 +02:00
2019-08-22 18:35:44 +02:00
2019-09-05 19:45:53 +02:00
2020-04-16 15:05:07 -03:00
2020-03-22 11:55:44 -03:00
2020-05-23 07:07:36 +02:00