PDA

View Full Version : Memory Leaks in DSCameraSession::updateSourceCapabilities (QT 5.7)



FSDrake
12th October 2017, 22:19
There is a memory leak in "void DSCameraSession::updateSourceCapabilities()" for windows.

If IAMVideoControl::GetFrameRateList succeeded, frameRates will never been freed by calling CoTaskMemFree. (dscamerasession.cpp Line 1213)

MSDN:
"The caller is responsible for freeing the memory through a call to CoTaskMemFree."