[hal_h265d]: fix issue for rcb_buf not free

Change-Id: Ie2bf272ffc66d94c73229645d0a44d53427296b5
Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
Ding Wei
2021-04-28 09:47:01 +08:00
committed by Herman Chen
parent aed7c380c5
commit ff5c5aec39

View File

@@ -203,6 +203,9 @@ static MPP_RET hal_h265d_vdpu34x_deinit(void *hal)
mpp_free(reg_cxt->scaling_rk);
}
if (reg_cxt->rcb_buf)
mpp_buffer_put(reg_cxt->rcb_buf);
if (reg_cxt->group) {
ret = mpp_buffer_group_put(reg_cxt->group);
if (ret) {