diff --git a/.gitignore b/.gitignore index 02bf6d2..189881e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /writeimage *.fasl *.so +/.emacs.desktop* diff --git a/Makefile b/Makefile index 66dacc0..6ecea81 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ game.so: game.cpp game.h lib.h sprites.h game_data.h Makefile mv game.so.tmp game.so run: all - LD_LIBRARY_PATH=lib ./main + LSAN_OPTIONS=suppressions=./lsan.supp LD_LIBRARY_PATH=lib ./main clean: rm -vf *.so *.o main diff --git a/lsan.supp b/lsan.supp new file mode 100644 index 0000000..fd27f4e --- /dev/null +++ b/lsan.supp @@ -0,0 +1,3 @@ +# One-time GLFW/X11/GL driver init allocations reached via InitWindow. +# Never freed by design; not owned by this codebase. +leak:_glfwCreateWindowX11