Linking doesn't find deallocate()

pull/13383/head
Stefano Fabri 14 years ago
parent 80c1aecfe5
commit e320e4e69c
  1. 3
      modules/core/include/opencv2/core/mat.hpp

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

Loading…
Cancel
Save