aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--checkpolicy/checkpolicy.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/checkpolicy/checkpolicy.c b/checkpolicy/checkpolicy.c
index 48c31261..8705d44d 100644
--- a/checkpolicy/checkpolicy.c
+++ b/checkpolicy/checkpolicy.c
@@ -92,6 +92,11 @@
#include "checkpolicy.h"
#include "parse_util.h"
+// ANDROID: this code does not call policydb_destroy, perhaps others
+const char *__asan_default_options() {
+ return "detect_leaks=0";
+}
+
static policydb_t policydb;
static sidtab_t sidtab;