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."
Bookmarks