commit | 836572a07142627ff291d686a4e9e03a0988344b | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Tue Aug 05 15:43:13 2014 -0700 |
committer | Christopher Ferris <cferris@google.com> | Wed Aug 06 11:59:06 2014 -0700 |
tree | 0211a2440ab0d43d633c665c6fe053ece67b54bf | |
parent | 6175442a246cded6a9caae4658a0a1dc7cf49071 [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. Change-Id: I38a4100e534ef15a19883703aa504e795a14b6de