Merge pull request #1997 from alalek:tapi_fix_memleaks
This commit is contained in:
@@ -617,9 +617,9 @@ inline void Mat::release()
|
||||
{
|
||||
if( u && CV_XADD(&u->refcount, -1) == 1 )
|
||||
deallocate();
|
||||
u = NULL;
|
||||
data = datastart = dataend = datalimit = 0;
|
||||
size.p[0] = 0;
|
||||
u = 0;
|
||||
}
|
||||
|
||||
inline
|
||||
|
Reference in New Issue
Block a user