projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aff4c0
)
Fix crash in haiku_message_to_lisp
author
Po Lu
<luangruo@yahoo.com>
Wed, 23 Mar 2022 04:01:01 +0000
(
04:01
+0000)
committer
Po Lu
<luangruo@yahoo.com>
Wed, 23 Mar 2022 04:01:01 +0000
(
04:01
+0000)
* src/haikuselect.c (haiku_message_to_lisp): Block input around
`free'.
src/haikuselect.c
patch
|
blob
|
history
diff --git
a/src/haikuselect.c
b/src/haikuselect.c
index 21407eedf0eeaf3a7f5020426b1150b02458a032..5a90fe37d22c7a55979840feccc36dce8361c7fd 100644
(file)
--- 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':