diff options
author | Po Lu <luangruo@yahoo.com> | 2022-03-23 04:01:01 +0000 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-03-23 04:01:01 +0000 |
commit | 64aabe706f139cce82a10d0c6d1fd9904c51cbcf (patch) | |
tree | a645399a0eeb715bbb1331848543f1ae41a696ef /src/haikuselect.c | |
parent | 8aff4c0a366f060595dd6360e7a008585b7eb405 (diff) | |
download | emacs-64aabe706f139cce82a10d0c6d1fd9904c51cbcf.tar.gz |
Fix crash in haiku_message_to_lisp
* src/haikuselect.c (haiku_message_to_lisp): Block input around
`free'.
Diffstat (limited to 'src/haikuselect.c')
-rw-r--r-- | src/haikuselect.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/haikuselect.c b/src/haikuselect.c index 21407eedf0e..5a90fe37d22 100644 --- a/src/haikuselect.c +++ b/src/haikuselect.c @@ -239,7 +239,10 @@ haiku_message_to_lisp (void *message) memory_full (SIZE_MAX); t1 = build_string (pbuf); + + block_input (); free (pbuf); + unblock_input (); break; case 'SHRT': |