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

core: remove unnecessary pointer cleanup in BufferArea

This commit is contained in:
Maksim Shabunin
2022-07-24 11:30:08 +03:00
parent db53f4533e
commit f729202272
2 changed files with 1 additions and 9 deletions
+1 -2
View File
@@ -29,8 +29,7 @@ public:
}
void cleanup() const
{
CV_Assert(ptr && *ptr);
*ptr = 0;
CV_DbgAssert(ptr);
if (raw_mem)
fastFree(raw_mem);
}