Paolo Bonzini
8b858f9998
qemu-timer: allow freeing a NULL timer
...
Since 5f8e93c3e2 ("util/qemu-timer: Make timer_free() imply timer_del()", 2021-01-08)
it is not possible anymore to pass a NULL pointer to timer_free(). Previously
it would do nothing as it would simply pass NULL down to g_free().
Rectify this, which also fixes "-chardev braille" when there is no device.
Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-03-16 14:30:30 -04:00
..
2021-02-05 10:24:15 -10:00
2020-09-23 16:07:44 +01:00
2020-12-15 12:52:07 -05:00
2020-11-15 17:04:40 +01:00
2020-09-23 16:07:44 +01:00
2021-02-15 09:38:50 +00:00
2020-11-15 17:04:40 +01:00
2021-01-07 05:09:41 -10:00
2021-01-22 12:48:01 -10:00
2021-03-06 11:41:54 +01:00
2020-06-23 15:46:05 +01:00
2020-09-23 16:07:44 +01:00
2020-03-16 23:02:21 +01:00
2021-01-24 20:10:54 +01:00
2020-11-03 09:42:52 -05:00
2020-12-10 12:15:18 -05:00
2020-01-06 18:41:32 +04:00
2021-02-01 10:50:55 +00:00
2021-02-08 14:43:55 +01:00
2021-02-07 20:38:34 +00:00
2020-11-15 17:04:40 +01:00
2020-03-18 14:03:46 -04:00
2020-10-15 16:06:27 +02:00
2020-07-06 18:13:13 +02:00
2021-03-09 21:47:45 +01:00
2021-02-18 07:48:22 -08:00
2021-02-03 08:00:33 -06:00
2021-02-12 11:23:19 -06:00
2020-05-04 16:07:43 +01:00
2020-09-23 16:07:44 +01:00
2020-09-01 12:07:52 +02:00
2021-02-09 20:53:56 +00:00
2020-10-15 10:43:48 +02:00
2020-12-10 17:16:44 +01:00
2020-12-10 12:15:12 -05:00
2021-01-29 10:47:28 +00:00
2021-02-18 08:19:23 +00:00
2020-03-11 12:42:30 +01:00
2021-02-18 08:16:50 +00:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-04-07 16:19:49 +01:00
2020-09-23 16:07:44 +01:00
2020-07-15 21:00:13 +08:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2021-03-16 14:30:30 -04:00
2020-06-16 14:49:05 +01:00
2021-02-18 08:19:08 +00:00
2021-02-08 11:19:51 +00:00
2020-05-14 15:03:08 +01:00
2020-10-05 09:35:52 +01:00
2020-12-08 13:48:58 -05:00
2021-01-19 14:38:51 +00:00
2021-01-13 10:21:17 +01:00