1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
FFmpeg/libavcodec
Linjie Fu 8f6e651833 lavc/qsvenc: Fix the memory leak for enc_ctrl.Payload
frame->enc_ctrl.Payload is malloced in get_free_frame, directly memset
the whole structure of enc_ctrl to zero will cause the memory leak for
enc_ctrl.Payload.

frame->enc_ctrl as a structure will be malloc and init to zero by calling
frame = av_mallocz(sizeof(*frame)), so the memset is redundant and can
be removed.

Signed-off-by: Linjie Fu <linjie.fu@intel.com>
Signed-off-by: Zhong Li <zhong.li@intel.com>
2019-05-22 22:16:21 +08:00
..
2019-01-01 21:11:47 +01:00
2019-04-11 11:58:34 +02:00
2019-04-19 14:01:04 +02:00
2019-04-13 18:10:11 +02:00
2018-10-15 01:19:45 +02:00
2019-05-12 14:17:35 +08:00
2018-09-23 14:42:34 +01:00
2018-09-23 14:42:34 +01:00
2019-04-13 18:10:11 +02:00
2019-04-21 19:43:14 +02:00
2019-05-06 23:58:34 +02:00
2018-12-23 15:30:13 +01:00
2018-12-10 11:19:36 +01:00
2018-09-23 15:25:50 +02:00
2018-12-20 18:40:41 +08:00
2019-01-16 01:29:18 +01:00
2019-04-27 12:33:08 +02:00
2019-03-31 23:35:00 +02:00
2018-12-23 15:30:13 +01:00
2018-12-01 19:41:48 +01:00
2019-04-13 18:10:11 +02:00
2019-01-12 17:16:47 +01:00
2019-05-07 11:00:19 +08:00
2019-04-03 23:00:15 +08:00
2018-12-03 23:34:05 +01:00
2018-11-18 22:59:29 +01:00
2019-03-31 18:39:58 +02:00
2018-09-08 21:21:50 +02:00
2018-12-31 02:37:08 +01:00
2019-05-02 15:36:16 +02:00
2019-05-02 15:36:16 +02:00
2018-12-10 21:38:08 +01:00