1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #776 from virtuald:2.4

This commit is contained in:
Andrey Kamaev
2013-04-09 08:51:09 +04:00
committed by OpenCV Buildbot
+1 -1
View File
@@ -379,7 +379,7 @@ static PyObject* pyopencv_from(const Mat& m)
if(!p->refcount || p->allocator != &g_numpyAllocator)
{
temp.allocator = &g_numpyAllocator;
m.copyTo(temp);
ERRWRAP2(m.copyTo(temp));
p = &temp;
}
p->addref();