Merge pull request #2279 from alalek:fix_memory_leak_getumat
This commit is contained in:
@@ -199,7 +199,6 @@ public:
|
||||
bool allocate(UMatData* u, int /*accessFlags*/) const
|
||||
{
|
||||
if(!u) return false;
|
||||
CV_XADD(&u->urefcount, 1);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user