Linking doesn't find deallocate()

This commit is contained in:
Stefano Fabri 2010-10-26 13:42:25 +00:00
parent 80c1aecfe5
commit e320e4e69c

View File

@ -378,7 +378,8 @@ inline void Mat::addref()
inline void Mat::release() inline void Mat::release()
{ {
if( refcount && CV_XADD(refcount, -1) == 1 ) if( refcount && CV_XADD(refcount, -1) == 1 )
deallocate(); //deallocate();
fastFree(datastart);
data = datastart = dataend = datalimit = 0; data = datastart = dataend = datalimit = 0;
size.p[0] = 0; size.p[0] = 0;
refcount = 0; refcount = 0;