commit | 156465e14e5f3caac3255f00fe74a7ef520fd17a | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Tue Apr 24 16:38:13 2018 -0700 |
committer | George Burgess IV <gbiv@google.com> | Tue Apr 24 16:58:54 2018 -0700 |
tree | a00ac34a3d66bfbf9cf9cd9314d4f03e9026714f | |
parent | 243707c31ece17e93c81218b98fb7b0fb2e238d2 [diff] |
Fix a memory leak This fixes multiple memory leaks. They all boil down to "this function was called multiple times, in which case we'd leak old member values", or "we exited early from the function, and forgot to let go of these `Tmp` variables." Note that this CL assumes that we don't try to hold on to e.g. the slot list across a call to populateObjectSlotMetadata. Bug: None Test: mma. No more memory leak complaints. Change-Id: I6b44b7f4ef858d4ae99b413df8d84f00fb4766df