Maxim Levitsky
d232b87ec6
libqtest: fix memory leak in the qtest_qmp_event_ref
...
The g_list_remove_link doesn't free the link element,
opposed to what I thought.
Switch to g_list_delete_link that does free it.
Also refactor the code a bit.
Thanks for Max Reitz for helping me with this.
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20201019163702.471239-4-mlevitsk@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2020-10-24 07:36:53 +02:00
..
2020-10-17 13:59:40 +02:00
2020-10-21 11:36:19 +02:00
2020-09-14 14:23:19 +01:00
2020-10-17 10:45:50 -04:00
2020-10-13 12:48:17 +02:00
2020-10-17 10:45:50 -04:00
2020-10-13 12:48:17 +02:00
2020-10-13 12:48:17 +02:00
2020-10-09 17:27:55 +01:00
2020-10-17 10:45:52 -04:00
2020-10-20 09:37:57 -04:00
2020-10-24 07:36:53 +02:00
2020-10-14 21:19:52 -07:00
2020-10-13 12:48:17 +02:00
2020-10-17 10:45:50 -04:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-09-10 11:02:17 +01:00
2020-09-10 11:02:17 +01:00
2020-09-10 11:02:17 +01:00
2020-10-02 15:46:40 +02:00
2020-09-09 09:27:09 -04:00
2020-09-18 13:49:48 -04:00
2020-09-23 16:07:44 +01:00
2020-10-17 10:45:51 -04:00
2020-10-17 10:45:50 -04:00
2020-10-05 16:41:22 +02:00
2020-09-23 16:07:44 +01:00
2020-09-23 16:07:44 +01:00
2020-10-13 08:08:55 +02:00
2020-09-16 08:41:06 +02:00
2020-09-23 16:07:44 +01:00
2020-10-05 10:59:42 +01:00
2020-10-13 13:33:46 +02:00
2020-10-13 13:33:45 +02:00
2020-09-08 07:17:09 +02:00
2020-09-23 13:45:52 +01:00
2020-09-16 12:15:07 +02:00
2020-09-16 08:41:06 +02:00
2020-09-23 13:41:58 +01:00
2020-10-15 16:06:27 +02:00
2020-09-23 16:07:44 +01:00
2020-09-16 12:15:07 +02:00
2020-09-08 11:43:16 +02:00
2020-10-09 07:08:19 +02:00
2020-09-03 09:38:36 +02:00
2020-09-23 16:07:44 +01:00
2020-09-16 08:41:06 +02:00
2020-09-23 16:07:44 +01:00
2020-10-05 16:41:22 +02:00
2020-09-07 12:34:17 +02:00
2020-10-09 07:08:19 +02:00
2020-09-16 08:41:06 +02:00
2020-09-02 07:29:26 -04:00