From a4acc4cd3a4ef237fb7238894336bbc4af659e07 Mon Sep 17 00:00:00 2001 From: grm Date: Sun, 23 Nov 2025 22:54:56 +0200 Subject: add lsan supression --- src/synth.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/synth.c') diff --git a/src/synth.c b/src/synth.c index 1b5187b..f5038b6 100644 --- a/src/synth.c +++ b/src/synth.c @@ -26,17 +26,27 @@ #include "synth_engine.h" #include "synth_gui.h" #include "web.h" +//#include "generator.h" + +// Add this function to your code +const char *__lsan_default_options() { + return "suppressions=lsan.supp:print_suppressions=0"; +} int main(void) { synth_t * synth = init_synth(); + /* sound_node sn = {0}; */ + /* load_preset(&sn, "preset.synth"); */ + init_web(synth); - + rayrun(synth); free_web(); free_synth(synth); + return 0; } -- cgit v1.2.3