1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #2279 from alalek:fix_memory_leak_getumat

This commit is contained in:
Andrey Pavlenko
2014-02-04 20:45:27 +04:00
committed by OpenCV Buildbot
2 changed files with 2 additions and 5 deletions
-1
View File
@@ -199,7 +199,6 @@ public:
bool allocate(UMatData* u, int /*accessFlags*/) const
{
if(!u) return false;
CV_XADD(&u->urefcount, 1);
return true;
}