mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-12 00:37:19 +00:00
Enable address sanitizer
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#include <sanitizer/lsan_interface.h>
|
||||
|
||||
#include <emscripten/bind.h>
|
||||
#include <emscripten/val.h>
|
||||
#include "avif/avif.h"
|
||||
@@ -81,4 +83,5 @@ EMSCRIPTEN_BINDINGS(my_module) {
|
||||
.field("subsample", &AvifOptions::subsample);
|
||||
|
||||
function("encode", &encode);
|
||||
function("doLeakCheck", &__lsan_do_recoverable_leak_check);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user