commit | 7df9ff2a08fd4bbd9b2e734a357cffcf64675df9 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Wed Feb 10 16:08:08 2016 -0800 |
committer | John Reck <jreck@google.com> | Thu Feb 11 00:42:23 2016 +0000 |
tree | a5e07ff04d17eb280e90ee2e439d057a3d89e2c7 | |
parent | 6354f440dae9f051b99d62e488a7263215342940 [diff] |
Fix all LA memory leaks forever! Bug: 27072626 Or at least fix this one and make it harder to leak going forward. static_asserts are cool, use them liberally Also makes allocation via LA (slightly) faster by fixing create* variants to use rvalue references & std::forward, preventing an accidental pass-by-value Change-Id: I18fd696a93dd6ea49c8d8c587d4c8bee56dbfdf5