#674, fix leaks in CreateHist

This commit is contained in:
James Bowman
2011-01-19 20:47:10 +00:00
parent 4b8425dbb8
commit d3462dfcba
2 changed files with 42 additions and 5 deletions

View File

@@ -1,4 +1,6 @@
import cv
import math
import time
while True:
cv.CreateHist([40], cv.CV_HIST_ARRAY, [[0,255]], 1)
h = cv.CreateHist([40], cv.CV_HIST_ARRAY, [[0,255]], 1)