#489, leaking cvarrmat test and fix

This commit is contained in:
James Bowman
2011-01-25 01:05:12 +00:00
parent 68ed806be0
commit 3a53d8667a
2 changed files with 21 additions and 1 deletions

9
tests/python/leak4.py Normal file
View File

@@ -0,0 +1,9 @@
import cv
import math
import time
N=50000
print "leak4"
while True:
seq=list((i*1., i*1.) for i in range(N))
cv.Moments(seq)