- OpenCV => 3.4.5
- Operating Systemp / Platform -> Windows10 64 bit
- Complier -> Visual Studio 2015
1 | initial version |
// C++ code example
int m = (int)xData.size();
cv::Mat J_k(m, 4, CV_64FC1);
cv::Mat invJ;
cv::invert(J_k, invJ, cv::DECOMP_SVD); // memory leak
Memory leak occurs when I using the invert function. Please check this code and HELP me if you know why this leak occurs.. Thx..
// C++ code example
example
int m = (int)xData.size();
cv::Mat J_k(m, 4, CV_64FC1);
cv::Mat invJ;invJ;
cv::invert(J_k, invJ, cv::DECOMP_SVD); // memory leak
Memory leak occurs when I using the invert function. Please check this code and HELP me if you know why this leak occurs.. Thx..