We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8363f6 commit 2c3bd84Copy full SHA for 2c3bd84
core-tests/run.sh
@@ -4,6 +4,7 @@ __SWOOLE_DIR__=$(cd "$(dirname "${__DIR__}")" || exit;pwd)
4
CMAKE_ARGS="-D swoole_dir=${__SWOOLE_DIR__} -D enable_thread=1"
5
6
if [ "${SWOOLE_ENABLE_ASAN}" = 1 ]; then
7
+ export ASAN_OPTIONS=detect_leaks=0
8
CMAKE_ARGS="${CMAKE_ARGS} -D enable_asan=1"
9
fi
10
core-tests/src/core/string.cpp
@@ -362,4 +362,6 @@ TEST(string, append_number) {
362
363
str->print(true);
364
str->print(false);
365
+
366
+ delete str;
367
}
0 commit comments