commit | 61fc364601974d7f51436c4098644bc97059654c | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Thu Jun 20 15:01:14 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Jun 20 15:01:14 2019 +0000 |
tree | cb873c133233a8ec64b68e1631b09669aa14e758 | |
parent | 3215fd93c7a335a7368020c9d60efb467d8c943a [diff] | |
parent | d1d973be1214985221526bcaeb4d3fe7a02fd2f8 [diff] |
Merge "Fix potential race condition."
diff --git a/libunwindstack/MapInfo.cpp b/libunwindstack/MapInfo.cpp index 1c0f1e6..5b30a4d 100644 --- a/libunwindstack/MapInfo.cpp +++ b/libunwindstack/MapInfo.cpp
@@ -300,7 +300,7 @@ std::string MapInfo::GetBuildID() { uintptr_t id = build_id.load(); - if (build_id != 0) { + if (id != 0) { return *reinterpret_cast<std::string*>(id); }