diff options
-rw-r--r-- | tools/test-common.sh | 2 | ||||
-rw-r--r-- | wsutil/plugins.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/test-common.sh b/tools/test-common.sh index 1b54cebbcc..ccac973bf2 100644 --- a/tools/test-common.sh +++ b/tools/test-common.sh @@ -121,7 +121,7 @@ export MallocCheckHeapAbort=1 export MallocBadFreeAbort=1 # Address Sanitizer options -export ASAN_OPTIONS=detect_leaks=0:detect_odr_violation=0 +export ASAN_OPTIONS=detect_leaks=0 # Create an error report function ws_exit_error() { diff --git a/wsutil/plugins.c b/wsutil/plugins.c index 64a8a66a26..ec3800bdf0 100644 --- a/wsutil/plugins.c +++ b/wsutil/plugins.c @@ -172,7 +172,7 @@ plugins_scan_dir(const char *dirname) g_snprintf(filename, FILENAME_LEN, "%s" G_DIR_SEPARATOR_S "%s", dirname, name); - if ((handle = g_module_open(filename, (GModuleFlags)0)) == NULL) + if ((handle = g_module_open(filename, G_MODULE_BIND_LOCAL)) == NULL) { report_failure("Couldn't load module %s: %s", filename, g_module_error()); |