hwdec_drmprime: fix memory leak

This commit is contained in:
repojohnray 2023-01-01 02:46:14 +01:00 committed by sfan5
parent 39f7f83351
commit 2e9c43f931
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ static void uninit(struct ra_hwdec *hw)
struct priv_owner *p = hw->priv;
if (p->hwctx.driver_name)
hwdec_devices_remove(hw->devs, &p->hwctx);
av_buffer_unref(&p->hwctx.av_device_ref);
}
const static dmabuf_interop_init interop_inits[] = {