mirror of
https://github.com/mpv-player/mpv
synced 2025-04-17 12:54:40 +00:00
hwdec_drmprime: fix memory leak
This commit is contained in:
parent
39f7f83351
commit
2e9c43f931
@ -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[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user