commit | 35388e93f7dc45257bbffc675710728aeb663394 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Tue Aug 05 15:43:13 2014 -0700 |
committer | Christopher Ferris <cferris@google.com> | Thu Aug 07 12:59:55 2014 -0700 |
tree | c72e6f32acd4ef9827f1f5a37740b5d8ae308d2a | |
parent | 7204c04dd86ae8ce05690e38737b2abf017a0a69 [diff] |
Check for a NULL pointer, do not call Build. When calling BacktraceMap::Create(), a NULL pointer is returned if Build fails. Building twice can cause problems and might leak memory. (cherry picked from commit 836572a07142627ff291d686a4e9e03a0988344b) Change-Id: I59d29bb6e5324de6eb099916045c2ab1d9e56630