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!
2 | No.2 Revision |
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!