Igor Wodiany 37d4e24806 Fix a memory leak in the Mat copying constructor
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.
2017-10-05 22:24:43 +01:00
2017-03-06 14:03:26 +01:00
2017-08-21 18:48:17 +03:00
2017-08-16 10:57:20 +02:00
2016-01-20 13:14:20 +03:00
2017-02-25 16:16:23 +08:00
2014-02-26 17:46:52 +08:00
2017-08-21 18:48:17 +03:00
2013-05-27 11:10:38 +04:00
2016-09-16 16:15:51 +03:00

OpenCV: Open Source Computer Vision Library

Resources

Contributing

Please read before starting work on a pull request: https://github.com/opencv/opencv/wiki/How_to_contribute

Summary of guidelines:

  • One pull request per issue;
  • Choose the right base branch;
  • Include tests and documentation;
  • Clean up "oops" commits before submitting;
  • Follow the coding style guide.
Description
Languages
C++ 87.7%
C 3.1%
Python 2.9%
CMake 2%
Java 1.5%
Other 2.6%