commit | e52e49b32f5cf862a414da63e5dbd2eb04ad758e | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Apr 02 16:05:44 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Apr 02 16:05:44 2012 -0700 |
tree | 582296bc89fcb3ca475260abba8e9b3d6fc2f39d | |
parent | 2d62a0e4ae6b528648c585aa804569aaefc4c517 [diff] |
Fix the mutex diagnostics, and other targets of opportunity. Three changes for the price of one: 1. Fix the mutex diagnostics so they work right during startup and shutdown. 2. Fix a memory leak in common_test. 3. Fix memory corruption in the compiler; we were calling memset(3) on a struct with non-POD members. Thanks, as usual, to valgrind(1) for the latter two (and several bugs in earlier attempts at the former). Change-Id: I15e1ffb01e73e4c56a5bbdcaa7233a4b5221e08a