opencv: facedetect: free IplImage with cvReleaseImage
authorLuis de Bethencourt <luis@debethencourt.com>
Wed, 5 Aug 2015 10:56:32 +0000 (11:56 +0100)
committerLuis de Bethencourt <luis@debethencourt.com>
Wed, 5 Aug 2015 10:56:37 +0000 (11:56 +0100)
commit0113029fb98ea09de7d3ba978fec4672f137cd0e
tree11069e20126b3f6d1656b2d57aaee0a6081bb996
parentcc8af753b9721e6acad17a1f6219616709b8303f
opencv: facedetect: free IplImage with cvReleaseImage

Using delete() with IplImage will fail to free some of the structure's
contents. cvReleaseImage() is the proper way of freeing the memory.
ext/opencv/gstfacedetect.cpp