https://github.com/opencv/opencv_contrib/blob/master/modules/cudaimgproc/src/cuda/gftt.cu#L90 Does the counter_ptr need to be released?