Fix a potential bug of ocl::CannyBuf.
authorpeng xiao <hisenxpress@gmail.com>
Fri, 12 Apr 2013 07:43:33 +0000 (15:43 +0800)
committerpeng xiao <hisenxpress@gmail.com>
Fri, 12 Apr 2013 07:43:33 +0000 (15:43 +0800)
commit4f328d8388980604330f0ea1d28ae5734983d648
tree85d467445d16c448ca20babdfd49aa5a9a4b95b7
parent75861452351963ce2f3bd563ce8788dbe58ffd39
Fix a potential bug of ocl::CannyBuf.

The program would crash if release is called twice.
modules/ocl/src/canny.cpp