Files
ghostty/src
Jon Parise 0060d89b5b core: fix encoded key request cleanup
Encoded key requests are owned by the caller until they are added to a
key sequence or queued for IO. The child_exited path and failed queue
append returned without freeing the allocated request.

The existing errdefer was also too broad: after queueIo took ownership, a
later setSelection or queueRender error could free the queued request.

We now free requests in the return paths that still own them, and the
errdefer has been removed.

Also, activate a sequence only after encoding and queue append succeed
so failure preserves the previous sequence state.
2026-08-05 14:12:52 -04:00
..
2026-08-02 20:24:30 -07:00
2026-08-02 20:24:30 -07:00
2026-03-15 20:58:43 -04:00
2026-07-30 08:51:38 -07:00
2026-07-21 17:19:16 -07:00
2025-10-03 18:52:26 +02:00
2026-07-21 12:35:05 -07:00
2026-07-21 17:19:16 -07:00
2026-08-05 14:40:45 +08:00
2025-11-27 13:37:53 -08:00
2025-11-27 13:37:53 -08:00
2026-08-03 20:10:19 -07:00
2026-08-02 20:24:30 -07:00
2026-07-21 12:35:05 -07:00
2026-07-21 17:19:16 -07:00
2026-07-21 12:35:05 -07:00
2026-07-21 17:19:16 -07:00
2026-07-21 17:19:16 -07:00
2024-08-16 14:35:10 -07:00
2026-07-21 17:19:16 -07:00
2022-08-18 11:42:32 -07:00
2026-03-20 10:37:42 -05:00
2026-07-21 12:35:05 -07:00
2026-07-21 12:35:05 -07:00