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

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;
}