diff options
Diffstat (limited to 'src/emacs-module.c')
| -rw-r--r-- | src/emacs-module.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c index f57101946b3..a0bab118019 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c | |||
| @@ -84,10 +84,6 @@ To add a new module function, proceed as follows: | |||
| 84 | #include <stdlib.h> | 84 | #include <stdlib.h> |
| 85 | #include <time.h> | 85 | #include <time.h> |
| 86 | 86 | ||
| 87 | #ifdef HAVE_SANITIZER_LSAN_INTERFACE_H | ||
| 88 | #include <sanitizer/lsan_interface.h> | ||
| 89 | #endif | ||
| 90 | |||
| 91 | #include "lisp.h" | 87 | #include "lisp.h" |
| 92 | #include "bignum.h" | 88 | #include "bignum.h" |
| 93 | #include "dynlib.h" | 89 | #include "dynlib.h" |
| @@ -1103,9 +1099,7 @@ DEFUN ("module-load", Fmodule_load, Smodule_load, 1, 1, 0, | |||
| 1103 | if (module_assertions) | 1099 | if (module_assertions) |
| 1104 | { | 1100 | { |
| 1105 | rt = xmalloc (sizeof *rt); | 1101 | rt = xmalloc (sizeof *rt); |
| 1106 | #ifdef HAVE___LSAN_IGNORE_OBJECT | ||
| 1107 | __lsan_ignore_object (rt); | 1102 | __lsan_ignore_object (rt); |
| 1108 | #endif | ||
| 1109 | } | 1103 | } |
| 1110 | else | 1104 | else |
| 1111 | rt = &rt_pub; | 1105 | rt = &rt_pub; |
| @@ -1426,9 +1420,7 @@ initialize_environment (emacs_env *env, struct emacs_env_private *priv) | |||
| 1426 | if (module_assertions) | 1420 | if (module_assertions) |
| 1427 | { | 1421 | { |
| 1428 | env = xmalloc (sizeof *env); | 1422 | env = xmalloc (sizeof *env); |
| 1429 | #ifdef HAVE___LSAN_IGNORE_OBJECT | ||
| 1430 | __lsan_ignore_object (env); | 1423 | __lsan_ignore_object (env); |
| 1431 | #endif | ||
| 1432 | } | 1424 | } |
| 1433 | 1425 | ||
| 1434 | priv->pending_non_local_exit = emacs_funcall_exit_return; | 1426 | priv->pending_non_local_exit = emacs_funcall_exit_return; |