Updated by Alexander Shishkov about 13 years ago

The following code leaks memory when getting the array out of cv.GetMat

I am testing on :
OSX 10.6
Python 2.6
OpenCV [[OpenCV]] 2.3.1

<pre>
import cv

while True:
img = cv.CreateImage((800,600), 8, 1);
cv.GetMat(img).+array_struct+
</pre>

Back