https://github.com/philsquared/Catch
Revision ab98afe68b111118907ff89131f0c2cc8e0aef9a authored by Jozef Grajciar on 17 October 2018, 19:05:40 UTC, committed by Martin Hořeňovský on 18 October 2018, 09:47:21 UTC
simple code with provided main function which just returns 0
leaks memory due to fact that singletons are not cleaned up

running valgrind on such simple application reports that 752 bytes
are still available in 11 blocks

this commit adds destructor to Catch::LeakDetector which calls
Catch::cleanUp()
1 parent 054d356
History
Tip revision: ab98afe68b111118907ff89131f0c2cc8e0aef9a authored by Jozef Grajciar on 17 October 2018, 19:05:40 UTC
Catch::LeakDetector: added cleanup call to destructor
Tip revision: ab98afe
File Mode Size
.github
CMake
artwork
contrib
docs
examples
include
misc
projects
scripts
single_include
test_package
third_party
.gitattributes -rw-r--r-- 613 bytes
.gitignore -rw-r--r-- 478 bytes
.travis.yml -rw-r--r-- 7.5 KB
CMakeLists.txt -rw-r--r-- 5.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE.txt -rw-r--r-- 1.3 KB
README.md -rw-r--r-- 2.2 KB
appveyor.yml -rw-r--r-- 2.5 KB
codecov.yml -rw-r--r-- 400 bytes
conanfile.py -rw-r--r-- 1008 bytes

README.md

back to top