[gtk/lsan-leaks: 2/2] Force malloc of g_slices in asan build
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/lsan-leaks: 2/2] Force malloc of g_slices in asan build
- Date: Fri, 22 Jan 2021 05:13:42 +0000 (UTC)
commit 0d790505aa6cffc1280afd56037a3c3978970ea5
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jan 22 00:13:13 2021 -0500
Force malloc of g_slices in asan build
Otherwise leaks could be missed.
.gitlab-ci/run-tests.sh | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/.gitlab-ci/run-tests.sh b/.gitlab-ci/run-tests.sh
index 6f6a09258f..1fca1f7a4b 100755
--- a/.gitlab-ci/run-tests.sh
+++ b/.gitlab-ci/run-tests.sh
@@ -9,6 +9,7 @@ backend=$2
# Ignore memory leaks lower in dependencies
export LSAN_OPTIONS=suppressions=$srcdir/lsan.supp
+export G_SLICE=always-malloc
case "${backend}" in
x11)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]