Itseez/opencv — pull request #1997 by alalek (2013-12-16 12:57:42+00:00)
Title: UMat: fix memory leaks

Problem is reproduced with disabled OpenCL runtime (OPENCV_OPENCL_RUNTIME="")
This fix is required for #1984.