[pango: 1/5] Force malloc of g_slices in asan build




commit fb7eda6ed6ca6f8c6f8e4140374c5e980c00e5aa
Author: Szunti <Szunti users noreply github com>
Date:   Sat Dec 26 23:09:30 2020 +0100

    Force malloc of g_slices in asan build
    
    Otherwise leaks could be missed.

 .gitlab-ci/run-tests.sh | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index e5c8e9af..73a1951f 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -8,6 +8,8 @@ builddir=$1
 
 # Ignore memory leaks lower in dependencies
 export LSAN_OPTIONS=suppressions=$srcdir/lsan.supp
+# Check leaks of slices
+export G_SLICE=always-malloc
 
 meson test -C ${builddir} \
         --print-errorlogs \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]