obs-qsv11: Fix memory leak in QSV plugin module

This commit is contained in:
Christine Lin 2022-01-19 17:13:17 -08:00 committed by Jim
parent 076cd5d5d4
commit 2474775f40

View File

@ -460,6 +460,9 @@ mfxStatus simple_copytex(mfxHDL pthis, mfxMemId mid, mfxU32 tex_handle,
km->ReleaseSync(*next_key);
km->Release();
input_tex->Release();
return MFX_ERR_NONE;
}