Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

yes, you should cvReleaseImage() all images you create,

but the image you get from the videoimage is the one exception to that rule. ( it hasn't got own memory, but uses mem inside the driver ) so don't release that!

yes, you should cvReleaseImage() all images you create,

but the image you get from the videoimage videocapture is the one exception to that rule. ( it hasn't got own memory, but uses mem inside the driver ) so don't release that!