• Igor Wodiany's avatar
    Fix a memory leak in the Mat copying constructor · b638aa74
    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.
    b638aa74
Name
Last commit
Last update
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tgitconfig Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...