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:
@@ -29,8 +29,7 @@ public:
|
||||
}
|
||||
void cleanup() const
|
||||
{
|
||||
CV_Assert(ptr && *ptr);
|
||||
*ptr = 0;
|
||||
CV_DbgAssert(ptr);
|
||||
if (raw_mem)
|
||||
fastFree(raw_mem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user