Ask Your Question

Revision history [back]

Matrix, invert() memory leak

  • OpenCV => 3.4.5
  • Operating Systemp / Platform -> Windows10 64 bit
  • Complier -> Visual Studio 2015

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

Matrix, invert() memory leak

  • OpenCV => 3.4.5
  • Operating Systemp / Platform -> Windows10 64 bit
  • Complier -> Visual Studio 2015

// 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..