mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #7090 from daB0bby:patch-1
This commit is contained in:
commit
07cffc9df2
@ -680,7 +680,8 @@ void Mat::addref()
|
||||
CV_XADD(&u->refcount, 1);
|
||||
}
|
||||
|
||||
inline void Mat::release()
|
||||
inline
|
||||
void Mat::release()
|
||||
{
|
||||
if( u && CV_XADD(&u->refcount, -1) == 1 )
|
||||
deallocate();
|
||||
|
Loading…
Reference in New Issue
Block a user