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-05-15 15:25:07 +01:00
2019-11-05 16:36:11 +01: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
2019-06-04 15:20:41 +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-06-16 14:49:05 +01: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-07-02 06:25:28 +02:00
2020-10-02 15:46:40 +02:00
2019-03-07 22:05:54 +01:00
2019-08-21 10:27:13 +02:00
2020-04-30 06:51:15 +02:00
2020-07-02 06:25:28 +02:00
2020-09-09 09:27:09 -04:00
2020-09-18 13:49:48 -04:00
2019-06-12 13:20:21 +02:00
2020-07-17 14:20:57 +02:00
2019-06-12 13:20:21 +02:00
2020-01-06 18:41:32 +04:00
2019-06-12 13:20:20 +02: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-01-12 11:42:40 +01: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
2019-08-22 17:30:25 +04:00
2020-09-23 16:07:44 +01:00
2020-02-22 08:26:47 +00:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2020-07-02 06:25:28 +02:00
2020-10-05 10:59:42 +01:00
2020-07-02 06:25:28 +02:00
2020-10-13 13:33:46 +02:00
2019-08-16 13:31:52 +02:00
2020-07-02 06:25:28 +02:00
2019-09-10 08:58:43 +02:00
2020-04-07 14:34:47 +02:00
2020-10-13 13:33:45 +02:00
2019-03-05 14:43:11 +01:00
2019-03-07 22:16:22 +01:00
2019-06-12 13:18:33 +02:00
2020-07-02 06:25:28 +02:00
2019-01-11 13:57:25 +01:00
2020-09-08 07:17:09 +02:00
2019-12-17 09:05:23 +01:00
2019-12-17 09:05:23 +01:00
2020-09-23 13:45:52 +01:00
2020-03-18 14:03:46 -04:00
2019-08-16 13:31:52 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2020-09-16 12:15:07 +02:00
2020-09-16 08:41:06 +02:00
2019-12-17 09:05:23 +01:00
2020-07-02 06:25:28 +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-07-02 06:25:28 +02:00
2020-09-08 11:43:16 +02:00
2020-08-21 06:30:20 -04:00
2020-10-09 07:08:19 +02:00
2020-03-17 19:58:34 +01:00
2020-09-03 09:38:36 +02:00
2020-04-30 07:26:09 +02:00
2020-09-23 16:07:44 +01:00
2020-02-22 08:26:47 +00:00
2020-09-16 08:41:06 +02:00
2020-07-02 06:25:28 +02:00
2020-07-02 06:25:28 +02:00
2020-09-23 16:07:44 +01:00
2019-08-20 17:26:19 +02: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
2019-10-26 15:38:06 +02:00