]> git.sesse.net Git - casparcg/commit
Spotted and fixed some memory leaks using Visual Leak Detector:
authorHelge Norberg <helge.norberg@svt.se>
Thu, 6 Nov 2014 19:37:54 +0000 (20:37 +0100)
committerHelge Norberg <helge.norberg@svt.se>
Thu, 6 Nov 2014 19:37:54 +0000 (20:37 +0100)
commitd203e356ad438e2985cc9ef48d01e08c06ea3aad
tree686ecd3635848274af53d7631d879e04947cb3f3
parent14f2b0476b2b3826ff944590841ba91ead7d8a51
Spotted and fixed some memory leaks using Visual Leak Detector:

* Now uses TBB thread local instead of Boost thread local everywhere. Seems to clean up better at thread exit.
* FlashAxContainer.cpp: m_lpDD4 was never deleted.
* g_cef_executor now freed in html::uninit() instead of at CRT termination.
* Reduced leakage from Console thread when exiting server via KILL or RESTART instead of via q. Best would be if std::getline could be unblocked from another thread somehow.
15 files changed:
common/exception/win32_exception.cpp
common/filesystem/filesystem_monitor.h
common/filesystem/polling_filesystem_monitor.cpp
core/producer/frame/frame_transform.cpp
core/thumbnail_generator.cpp
modules/ffmpeg/ffmpeg.cpp
modules/flash/producer/FlashAxContainer.cpp
modules/html/html.cpp
protocol/amcp/AMCPCommand.h
protocol/amcp/AMCPCommandsImpl.cpp
protocol/amcp/AMCPProtocolStrategy.cpp
protocol/amcp/AMCPProtocolStrategy.h
shell/main.cpp
shell/server.cpp
shell/server.h