Fix memory leak issue

This commit is contained in:
bossiel 2015-03-06 06:01:41 +00:00
parent 58cdf9595e
commit e0fbae9a6a
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ static int plugin_win_mf_converter_video_ms_init(tmedia_converter_video_t* self,
if (SUCCEEDED(hr)) {
hr = pAttributes->GetUINT32(MF_SA_D3D11_AWARE, &GPU);
}
SafeRelease(&pAttributes);
TSK_DEBUG_INFO("MF_SA_D3D11_AWARE = %d", GPU);
#if HAVE_IMFVideoProcessorControl
CHECK_HR(hr = pSelf->pMFT->QueryInterface(IID_PPV_ARGS(&pSelf->pVPC)));