Ask Your Question

igormat's profile - activity

2017-10-18 13:51:44 -0500 received badge  Student (source)
2013-06-12 08:12:37 -0500 asked a question Release resources in openCV

Hello everyone. I started learn openCV and have one important for me question. I use code like this:

CvMemStorage* storage = cvCreateMemStorage(0); CvSeq* contours=0; int contoursCont = cvFindContours( bin, storage,&contours,sizeof(CvContour),CV_RETR_LIST,CV_CHAIN_APPROX_SIMPLE,cvPoint(0,0));

Do I need to free storage? How I can do this correctly? What API I need to use? Sorry for stupid question but I can't find it in manual.