运行valgrind,我在opencv中发现大量内存泄漏,尤其是namedWindow的功能。主要是,我有一个图像CSImg和PGImg:std::stringcs="ComputerScienceStudents";std::stringpg="PoliticsandGovernmentStudents";CSImg.displayImage(cs);cv::destroyWindow(cs);PGImg.displayImage(pg);cv::destroyWindow(pg);显示图像函数是:voidImageHandler::displayImage(std::string&