We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eff001 commit d17eadeCopy full SHA for d17eade
compiler-rt/lib/scudo/standalone/combined.h
@@ -688,12 +688,14 @@ class Allocator {
688
Quarantine.disable();
689
Primary.disable();
690
Secondary.disable();
691
- Depot->disable();
+ if (Depot)
692
+ Depot->disable();
693
}
694
695
void enable() NO_THREAD_SAFETY_ANALYSIS {
696
initThreadMaybe();
- Depot->enable();
697
698
+ Depot->enable();
699
Secondary.enable();
700
Primary.enable();
701
Quarantine.enable();
0 commit comments