I am using the cv::resize function from opencv (2.4.3). I am getting a memory leak. This it the code:
Mat src(height_,width_,CV_8UC3,(void *)&bits_[0]);
cv::resize(src, src,cv::Size(width,height));
BMPImage result (src);
src.release();
src = NULL;
I have a memory leak in cv::resize... This code is executed a lot of times (It resizes hundred images in an execution) and the memory doesn't stop to increase.... I was checking the opencv documentation but It explains that cv::resize handles its memory...
In my log, it get the error from the deallocation: 0x22081 call 0x6118