Commit 4ea90a71 authored by Eli Zaretskii's avatar Eli Zaretskii

Fix last change

* src/emacs-module.c (initialize_environment): Call
__lsan_ignore_object only if HAVE_SANITIZER_LSAN_INTERFACE_H is
undefined.  This fixes compilation on systems that don't have
__lsan_* functions.
parent c3b53559
Pipeline #6186 failed with stage
in 12 seconds
......@@ -1426,7 +1426,9 @@ initialize_environment (emacs_env *env, struct emacs_env_private *priv)
if (module_assertions)
{
env = xmalloc (sizeof *env);
#ifdef HAVE_SANITIZER_LSAN_INTERFACE_H
__lsan_ignore_object (env);
#endif
}
priv->pending_non_local_exit = emacs_funcall_exit_return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment