Michal Privoznik
b3a67644c3
nodedevmdevctltest: Fix two memleaks
...
There are two memleaks inside of nodedevmdevctltest:
1) In the testCommandDryRunCallback() - when appending lines to
stdinbuf the pointer is overwritten without freeing the old
memory it pointed to.
2) In testMdevctlModify() the livecmd variable is reused and
since its marked as g_autoptr() the first use leaks.
Fixes: 582f27ff15f14fa0e913278c0a2ca9840c3f12f5
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2024-02-26 14:35:52 +01:00
..
2020-10-19 11:50:49 +02:00
2021-04-21 14:20:03 +02:00
2021-02-08 18:50:47 +04:00
2024-01-15 14:56:35 +01:00
2023-08-25 10:07:36 +02:00
2023-02-14 13:59:45 +01:00
2024-02-20 17:29:27 +01:00
2023-05-16 10:26:33 +02:00
2023-05-16 10:26:33 +02:00
2024-02-20 17:29:27 +01:00
2020-10-20 09:05:10 +02:00
2023-03-06 20:55:49 +01:00
2024-01-30 10:58:13 +01:00
2024-01-04 22:26:10 +01:00
2024-01-07 23:59:00 -05:00
2024-01-08 01:00:08 -05:00
2024-01-08 01:00:08 -05:00
2024-02-26 11:09:57 +01:00
2024-02-26 10:59:47 +01:00
2024-02-26 10:59:47 +01:00
2021-01-04 15:33:31 +01:00
2023-06-05 13:23:06 +02:00
2023-06-05 13:23:06 +02:00
2023-07-20 15:23:34 +02:00
2023-11-02 15:31:10 +01:00
2024-02-12 11:28:14 +01:00
2023-10-09 15:06:59 +02:00
2023-07-20 15:23:43 +02:00
2023-07-20 15:23:24 +02:00
2023-08-21 13:51:26 +02:00
2024-01-15 14:56:35 +01:00
2024-01-07 23:59:00 -05:00
2024-01-15 14:56:35 +01:00
2024-01-07 23:59:00 -05:00
2023-11-10 10:04:04 +01:00
2021-08-25 15:32:44 +02:00
2024-01-15 14:56:36 +01:00
2024-02-09 14:45:20 -06:00
2024-01-07 23:59:00 -05:00
2019-09-24 13:19:08 -04:00
2024-01-17 17:31:12 +01:00
2024-02-22 10:54:07 +01:00
2023-04-06 12:48:22 +02:00
2024-01-15 14:56:35 +01:00
2024-01-15 14:56:35 +01:00
2023-01-02 20:39:09 +01:00
2024-01-08 01:00:08 -05:00
2023-11-27 10:12:34 +01:00
2023-12-14 17:10:22 +01:00
2024-01-25 16:26:45 +01:00
2024-01-07 23:59:00 -05:00
2024-01-07 23:59:00 -05:00
2023-07-20 11:22:08 +02:00
2021-04-21 14:20:03 +02:00
2023-02-14 13:59:45 +01:00
2023-11-24 09:53:14 +01:00
2023-08-24 12:45:00 +02:00
2023-12-06 14:57:46 -06:00
2023-07-19 08:42:08 +02:00
2024-01-07 23:57:09 -05:00
2022-12-01 14:22:39 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2024-01-30 10:58:13 +01:00
2022-06-16 06:43:58 +02:00
2023-08-03 16:41:19 +02:00
2023-03-10 11:01:42 -07:00
2021-09-09 18:06:13 +02:00
2022-06-16 06:43:58 +02:00
2024-02-01 10:39:40 +01:00
2023-08-25 12:36:37 +02:00
2022-11-09 18:22:47 +01:00
2024-01-08 01:00:08 -05:00
2022-10-06 10:54:25 +02:00
2024-02-26 14:35:52 +01:00
2024-02-26 10:59:47 +01:00
2019-10-15 11:25:25 +02:00
2023-08-03 16:41:19 +02:00
2023-08-03 16:41:19 +02:00
2023-06-05 13:23:06 +02:00
2022-12-01 14:22:39 +01:00
2022-05-24 12:19:18 +02:00
2023-07-20 15:23:34 +02:00
2023-11-02 15:32:43 +01:00
2023-04-03 09:19:06 +02:00
2023-04-03 09:19:07 +02:00
2021-11-05 17:12:25 +01:00
2024-02-01 10:39:40 +01:00
2022-06-16 06:43:58 +02:00
2023-07-20 15:23:43 +02:00
2023-07-20 15:23:24 +02:00
2023-08-21 13:51:27 +02:00
2023-09-12 11:06:41 -05:00
2024-02-02 16:03:08 +01:00
2023-07-20 15:23:16 +02:00
2022-07-01 11:28:34 +02:00
2023-11-10 10:04:04 +01:00
2024-01-15 14:56:36 +01:00
2024-02-01 10:39:40 +01:00
2024-02-01 10:39:40 +01:00
2024-02-09 14:45:20 -06:00
2024-01-24 09:19:28 +01:00
2024-01-04 22:26:10 +01:00
2024-01-24 09:19:28 +01:00
2024-02-22 10:54:07 +01:00
2023-03-03 13:52:37 +01:00
2022-12-12 10:36:13 +00:00
2023-09-06 14:09:42 +02:00
2019-10-15 11:25:25 +02:00
2023-08-03 16:41:19 +02:00
2022-10-06 10:54:24 +02:00
2022-06-16 06:43:58 +02:00
2024-01-17 16:39:06 +01:00
2024-01-04 22:26:10 +01:00
2023-03-06 20:55:50 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2024-01-17 17:31:12 +01:00
2024-01-17 17:31:12 +01:00
2023-06-05 13:20:13 +02:00
2023-04-03 09:19:07 +02:00
2021-04-13 17:00:38 +02:00
2023-12-14 17:10:22 +01:00
2022-12-01 14:22:39 +01:00
2023-04-06 12:48:22 +02:00
2022-06-16 06:43:58 +02:00
2023-03-13 13:29:07 +01:00
2022-12-01 14:22:39 +01:00
2024-01-15 14:56:35 +01:00
2023-03-03 13:52:37 +01:00
2023-04-03 08:21:27 +02:00
2021-05-17 09:25:32 +02:00
2023-04-01 11:40:35 +02:00
2021-09-09 18:06:13 +02:00
2022-12-12 10:36:13 +00:00
2022-06-16 06:43:58 +02:00
2019-06-19 17:12:34 +02:00
2023-05-10 14:44:22 +02:00
2023-04-04 10:52:15 +02:00
2022-09-30 15:38:47 +02:00
2024-01-15 14:56:35 +01:00
2024-01-07 23:57:09 -05:00
2023-08-24 13:47:41 +02:00
2022-06-16 06:43:58 +02:00
2022-12-01 14:22:39 +01:00
2021-05-17 09:25:32 +02:00
2021-09-09 18:06:13 +02:00
2022-06-16 06:43:58 +02:00
2022-03-07 10:31:24 +01:00
2023-05-16 08:48:17 +02:00
2020-07-23 14:58:16 +01:00
2024-01-04 17:05:34 +01:00
2019-07-09 15:01:54 +02:00
2022-12-01 14:22:39 +01:00
2023-03-13 13:29:07 +01:00
2023-08-03 16:41:19 +02:00
2021-04-13 17:00:38 +02:00
2023-08-03 16:35:11 +02:00
2024-01-04 22:26:10 +01:00
2023-03-15 12:46:21 +01:00
2024-01-31 17:24:07 +01:00
2024-01-31 17:24:07 +01:00
2024-01-31 17:24:07 +01:00
2023-07-19 13:09:11 +02:00
2021-09-09 18:06:13 +02:00
2021-09-09 18:06:13 +02:00
2024-01-24 09:19:28 +01:00
2021-09-09 18:06:13 +02:00
2023-06-29 11:51:27 +02:00
2020-03-06 17:02:10 +00:00
2016-04-23 15:41:40 -04:00
2021-01-06 09:25:07 +01:00
2016-04-23 15:41:40 -04:00
2020-11-23 14:44:39 +01:00
2020-11-23 14:44:39 +01:00
2021-01-06 09:25:07 +01:00
2022-12-07 14:33:28 +01:00
2016-04-23 15:41:40 -04:00
2024-02-19 10:29:24 +01:00
2016-04-23 15:41:40 -04:00
2022-12-01 14:22:39 +01:00
2023-11-27 10:12:34 +01:00
2022-06-16 06:43:58 +02:00
2023-11-24 09:53:14 +01:00
2024-02-07 14:19:42 +01:00
2024-02-19 10:29:24 +01:00
2022-06-16 06:43:58 +02:00
2023-02-08 16:50:45 +01:00
2022-06-16 06:43:58 +02:00
2024-01-25 16:26:45 +01:00
2022-08-25 13:27:04 +02:00