Fix typo in if statement.

It turns out that we weren't actually enabling stack traces due
to a typo in one of the if statements. Fix it.

Bug: 135772972
Change-Id: Ic19352280f65acd621b9d88c361c55680b3327f0
This commit is contained in:
Peter Collingbourne 2020-05-08 10:03:19 -07:00
parent 073c3dc1eb
commit 947125edf1
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ bool SetHeapTaggingLevel(void* arg, size_t arg_size) {
#if defined(USE_SCUDO)
scudo_malloc_set_track_allocation_stacks(0);
#endif
} else if (tag_level == M_HEAP_TAGGING_LEVEL_ASYNC) {
} else if (tag_level == M_HEAP_TAGGING_LEVEL_SYNC) {
#if defined(USE_SCUDO)
scudo_malloc_set_track_allocation_stacks(1);
#endif