提交 4c29ffec 编写于 作者: S Stefano Fabri

Reverting, release beahviour was changed. Investigating on deallocate() issue

上级 e320e4e6
......@@ -378,8 +378,7 @@ inline void Mat::addref()
inline void Mat::release()
{
if( refcount && CV_XADD(refcount, -1) == 1 )
//deallocate();
fastFree(datastart);
deallocate();
data = datastart = dataend = datalimit = 0;
size.p[0] = 0;
refcount = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册