Fixed leak of dims in MatND creates

This commit is contained in:
James Bowman
2011-01-19 01:43:45 +00:00
parent 06b06d5f85
commit 8503f75212
2 changed files with 3 additions and 1 deletions

View File

@@ -6,5 +6,5 @@ while True:
for i in range(4000):
a = cv.CreateImage((1024,1024), cv.IPL_DEPTH_8U, 1)
b = cv.CreateMat(1024, 1024, cv.CV_8UC1)
# c = cv.CreateMatND([1024,1024], cv.CV_8UC1)
c = cv.CreateMatND([1024,1024], cv.CV_8UC1)
print "pause..."