Commit 35388e93 authored by Christopher Ferris's avatar Christopher Ferris
Browse files

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 836572a0)

Change-Id: I59d29bb6e5324de6eb099916045c2ab1d9e56630
parent 7204c04d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment