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

fix memory leak for Mat::getUMat() operation

This commit is contained in:
Alexander Alekhin
2014-02-04 17:23:26 +04:00
parent 22146e4b18
commit 83a2b566a3
2 changed files with 2 additions and 5 deletions
-1
View File
@@ -191,7 +191,6 @@ public:
bool allocate(UMatData* u, int /*accessFlags*/) const
{
if(!u) return false;
CV_XADD(&u->urefcount, 1);
return true;
}