Skip to content
Snippets Groups Projects
Commit 2936ea72 authored by Andrews Cordolino Sobral's avatar Andrews Cordolino Sobral
Browse files

[important] Fixed memory leak on VuMeter

parent 4650d370
No related branches found
No related tags found
No related merge requests found
...@@ -65,6 +65,7 @@ void VuMeter::process(const cv::Mat &img_input, cv::Mat &img_output, cv::Mat &im ...@@ -65,6 +65,7 @@ void VuMeter::process(const cv::Mat &img_input, cv::Mat &img_output, cv::Mat &im
img_foreground.copyTo(img_output); img_foreground.copyTo(img_output);
img_background.copyTo(img_bgmodel); img_background.copyTo(img_bgmodel);
cvReleaseImage(&frame);
firstTime = false; firstTime = false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment