• Igor Wodiany's avatar
    Fix a memory leak in the Mat copying constructor · 37d4e248
    Igor Wodiany authored
    Exception may be rasied inside the body of a copying constructor after
    refcount has been increased, and beacause in the case of the exception
    destrcutor is never called what causes memory leak. This commit adds a
    workaround that calls the release() function before the exception is
    thrown outside the contructor.
    37d4e248
Name
Last commit
Last update
..
androidcamera Loading commit data...
calib3d Loading commit data...
contrib Loading commit data...
core Loading commit data...
dynamicuda Loading commit data...
features2d Loading commit data...
flann Loading commit data...
gpu Loading commit data...
highgui Loading commit data...
imgproc Loading commit data...
java Loading commit data...
legacy Loading commit data...
ml Loading commit data...
nonfree Loading commit data...
objdetect Loading commit data...
ocl Loading commit data...
photo Loading commit data...
python Loading commit data...
stitching Loading commit data...
superres Loading commit data...
ts Loading commit data...
video Loading commit data...
videostab Loading commit data...
viz Loading commit data...
world Loading commit data...
CMakeLists.txt Loading commit data...
refman.rst.in Loading commit data...