AOSP: e2fsdroid: disable asan leak detection

borked and breaks asan build

Bugs: me
Test: build with SANITIZE_HOST=address
Change-Id: I9ae15ba328081c38e31c61834e80ce10765f9e30
From AOSP commit: eff2c071b546c3d2d3ea5eb89328babcc48e4bc2
This commit is contained in:
Steven Moreland 2024-04-15 23:07:31 +00:00 committed by Theodore Ts'o
parent 90c534c7ee
commit eb5788f29c

View File

@ -22,6 +22,11 @@
#define UID_GID_MAP_MAX_EXTENTS 340
#endif
// disable leak detection, breaks host asan build
const char *__asan_default_options() {
return "detect_leaks=0";
}
static char *prog_name = "e2fsdroid";
static char *in_file;
static char *block_list;