• PhilLab's avatar
    Fixed self-assignment in cv::Ptr::operator = · efc1c393
    PhilLab authored
    A self-assignment leads to a call of release() with refcount being 2. In the release() method, refcount is decremented and then successfully checked for being 1. As a consequence, the underlying data is released. To prevent this, we test for a self-assignment
    efc1c393
Name
Last commit
Last update
..
affine.hpp Loading commit data...
core.hpp Loading commit data...
core_c.h Loading commit data...
cuda_devptrs.hpp Loading commit data...
devmem2d.hpp Loading commit data...
eigen.hpp Loading commit data...
gpumat.hpp Loading commit data...
internal.hpp Loading commit data...
mat.hpp Loading commit data...
opengl_interop.hpp Loading commit data...
opengl_interop_deprecated.hpp Loading commit data...
operations.hpp Loading commit data...
types_c.h Loading commit data...
version.hpp Loading commit data...
wimage.hpp Loading commit data...