potential mem corruption at session close:
authorRobin Gareus <robin@gareus.org>
Wed, 24 Feb 2016 22:36:15 +0000 (23:36 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 24 Feb 2016 22:36:52 +0000 (23:36 +0100)
commita6af411af7ade161483ae688f5e1868d481a8fce
treeac2d17de2fc3689b80e7dd63f03e314904e1f287
parent8d81f121e5b68030eea5444c3ebad14d6a0bfa82
potential mem corruption at session close:

ARDOUR::Session::~Session()
ARDOUR::Route::~Route()
ARDOUR::InternalReturn::~InternalReturn()
ARDOUR::Return::~Return()
ARDOUR::Session::unmark_return_id(unsigned int)
boost::dynamic_bitset<unsigned int, std::allocator<unsigned int> >::reference::do_assign(bool)

-> Invalid write of size 4
-> 0 bytes inside a block of size 4 free'd

Thanks to The_CLA for valgrinding this.
libs/ardour/session.cc