Skip to content

intel-onevpl-26.2.1

@yuanwade yuanwade tagged this 20 May 06:12
At the start of each frame, m_dst is allocated to hold the decoded JPEG
data. After a successful decode, it is moved into m_dsts. Close() iterates
m_dsts and frees every entry. However, if the application stops mid-frame
(e.g. hits a frame-count limit), m_dst has been allocated but not yet
transferred into m_dsts. Close() skips it, leaving the allocation dangling.
The Debug CRT detects this leak on DLL unload and calls abort(), producing
STATUS_FATAL_APP_EXIT (exit code -1073740767 / 0xC0000421).

Add explicit delete[] m_dst; m_dst = nullptr; in Close() to cover
this path.
Assets 2
Loading