summarylogtreecommitdiffstats
path: root/0001-asan-options.patch
blob: fc5bba9e834c21e3fe879dbac9c4b61957cdd2e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/sway/main.c b/sway/main.c
index a46e5231..72788fbc 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -32,6 +32,10 @@ static struct rlimit original_nofile_rlimit = {0};
 struct sway_server server = {0};
 struct sway_debug debug = {0};
 
+const char* __asan_default_options() {
+	return "detect_leaks=0";
+}
+
 void sway_terminate(int exit_code) {
 	if (!server.wl_display) {
 		// Running as IPC client