Hi everyone,
It might be a stupid question but..why Visual Studio (2010) says there's a a memory leak here? I'm using OpenCV 2.4.1 with TBB support.
int main()
{
Mat mask(480, 640, CV_8U, Scalar(255));
cv::erode(mask, mask, cv::Mat());
// Turn on memory leaks detection.
_CrtSetDbgFlag((_CRTDBG_LEAK_CHECK_DF) | _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG));
return 0;
}
Regards,
Giuliano