Commit e320e4e6 authored by Stefano Fabri's avatar Stefano Fabri

Linking doesn't find deallocate()

parent 80c1aecf
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment