#489, leaking cvarrmat test and fix
This commit is contained in:
9
tests/python/leak4.py
Normal file
9
tests/python/leak4.py
Normal 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)
|
Reference in New Issue
Block a user