【OpenCV】内存溢出

今天在写读大量图片时,发现在读到第721张时,内存溢出了,无法继续读。出错语句为pframe2 = cvLoadImage(pname2);

后来加上了ReleaseImage(&pname2); 问题修正

原文地址:https://www.cnblogs.com/dplearning/p/3834730.html