Matrix, invert() memory leak
- OpenCV => 3.4.5
- Operating Systemp / Platform -> Windows10 64 bit
- Complier -> Visual Studio 2015
// 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..
False/positive ? Do you like morse to communicate? can you give a full example in text version ? Which tool do you use to detect memory leak ?
.-- . / -.-. .- -. / --- -. .-.. -.-- / .... . .-.. .--. --..-- / .. ..-. / .-- . / -.-. .- -. / ... . . / - .... . / -.-. --- -.. . / --- ..-. / -.-- --- ..- .-. / .- - - . -- .--. -
Which tool do you use? valgrind is used inside opencv build bot. I cannot reproduce your sample xdata.size() what is it?
xData.size() is a variable value.