Axel
fb5a51e775
fix(tui): avoid memory leak and compiler warning on Windows ( #34225 )
...
Problem: On Windows, the value of `term` is overwritten without freeing
the old allocated value, which may lead to a memory leak.
GCC also gives a "incompatible pointer type" warning about
passing `*term` to os_tty_guess_term().
Solution: Don't override the old allocated value, and copy the guessed
value to `term` if its old value is NULL.
2025-06-23 22:07:52 +08:00
..
2024-01-11 21:37:23 +01:00
2023-11-27 17:21:58 +08:00
2025-06-23 22:07:52 +08:00
2024-07-13 12:30:49 +02:00
2024-12-23 05:43:52 -08:00
2024-06-11 11:11:38 +02:00
2023-11-12 22:01:28 +01:00
2025-04-16 03:36:07 -07:00
2024-01-11 21:37:23 +01:00
2025-02-10 18:56:11 +01:00
2023-12-21 17:38:42 +01:00
2025-05-02 09:28:50 +02:00
2023-11-28 07:47:36 +08:00
2023-11-12 21:26:39 +01:00
2024-04-18 04:28:36 -07:00
2024-11-21 12:41:15 +01:00
2023-11-30 19:52:23 +08:00
2025-06-04 07:11:01 -07:00
2023-11-12 22:01:28 +01:00
2024-01-11 21:37:23 +01:00
2024-09-23 14:42:57 +02:00
2024-09-15 12:20:58 -07:00
2024-09-15 12:20:58 -07:00
2024-01-01 19:57:44 +01:00
2025-05-02 09:28:50 +02:00
2024-09-15 12:20:58 -07:00
2025-03-12 05:35:14 -07:00
2024-09-15 12:20:58 -07:00
2024-09-15 12:20:58 -07:00
2025-05-25 09:28:11 +08:00
2023-11-27 17:21:58 +08:00
2025-06-01 15:23:42 -07:00
2023-11-12 22:01:28 +01:00
2023-11-12 22:01:28 +01:00
2025-04-16 03:36:07 -07:00
2023-11-28 22:23:56 +01:00
2025-04-16 03:36:07 -07:00
2024-01-11 21:37:23 +01:00
2023-11-27 15:50:45 +01:00
2025-04-16 03:36:07 -07:00
2024-09-05 14:28:12 +02:00