diff options
| author | Andrea Corallo | 2020-08-02 17:36:29 +0200 |
|---|---|---|
| committer | Andrea Corallo | 2020-08-02 17:36:29 +0200 |
| commit | e5095f0fd31764a729b4afebf8b5e868a09eef28 (patch) | |
| tree | 9404b95851af889d2f3652db786bca6180394587 /src/buffer.c | |
| parent | 7a161dc688f0eeee64e307a55efbc7d11bab3627 (diff) | |
| parent | 99d1a66646b7450ad0be3e4471341b50fee7bdb5 (diff) | |
| download | emacs-e5095f0fd31764a729b4afebf8b5e868a09eef28.tar.gz emacs-e5095f0fd31764a729b4afebf8b5e868a09eef28.zip | |
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index f1cb4d50414..e441499aeb0 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -28,6 +28,10 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 28 | #include <stdlib.h> | 28 | #include <stdlib.h> |
| 29 | #include <unistd.h> | 29 | #include <unistd.h> |
| 30 | 30 | ||
| 31 | #ifdef HAVE_SANITIZER_LSAN_INTERFACE_H | ||
| 32 | #include <sanitizer/lsan_interface.h> | ||
| 33 | #endif | ||
| 34 | |||
| 31 | #include <verify.h> | 35 | #include <verify.h> |
| 32 | 36 | ||
| 33 | #include "lisp.h" | 37 | #include "lisp.h" |
| @@ -5083,6 +5087,9 @@ enlarge_buffer_text (struct buffer *b, ptrdiff_t delta) | |||
| 5083 | #else | 5087 | #else |
| 5084 | p = xrealloc (b->text->beg, new_nbytes); | 5088 | p = xrealloc (b->text->beg, new_nbytes); |
| 5085 | #endif | 5089 | #endif |
| 5090 | #ifdef HAVE___LSAN_IGNORE_OBJECT | ||
| 5091 | __lsan_ignore_object (p); | ||
| 5092 | #endif | ||
| 5086 | 5093 | ||
| 5087 | if (p == NULL) | 5094 | if (p == NULL) |
| 5088 | { | 5095 | { |