Michal Privoznik
69daa2ea8a
testCompareXMLToArgvValidateSchema: Construct @vm from scratch
...
Currently, the @vm is passed in as an argument and
testCompareXMLToArgvCreateArgs() is called over it which means
under the hood qemuProcessPrepareDomain() is called. But at the
point where ValidateSchema() is called, the domain object is
already 'prepared', i.e. all device aliases are assigned and so
on. But our code is not prepared to 'prepare' a domain twice - it
simply overwrites all the pointers leading to a memory leak.
Fortunately, this is only the problem of this test.
Resolve this by constructing the domain object from scratch.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2020-05-22 11:17:17 +02:00
..
2019-12-03 13:57:44 +00:00
2020-03-25 09:04:49 +01:00
2020-05-13 18:30:45 +02:00
2020-04-14 18:49:41 +02:00
2020-04-14 18:49:41 +02:00
2020-05-06 15:08:41 +02:00
2019-12-03 13:57:44 +00:00
2020-03-16 15:51:44 +01:00
2019-12-13 17:52:10 +00:00
2020-05-07 17:38:41 -06:00
2020-02-06 15:00:57 +01:00
2020-04-23 10:59:33 +02:00
2019-10-18 18:49:54 +01:00
2020-04-23 10:59:33 +02:00
2020-04-23 10:59:33 +02:00
2019-12-03 13:57:44 +00:00
2020-04-24 09:17:06 +02:00
2020-05-18 10:23:05 +02:00
2019-11-13 08:16:04 +01:00
2019-12-03 13:57:44 +00:00
2019-12-03 13:57:44 +00:00
2020-03-05 11:31:38 +01:00
2020-03-12 08:04:40 +01:00
2020-03-12 08:04:40 +01:00
2020-03-16 16:00:27 +00:00
2020-05-12 06:55:00 +02:00
2019-09-24 13:19:08 -04:00
2020-05-20 09:41:57 +02:00
2020-05-13 09:30:20 +02:00
2019-12-20 14:31:08 +01:00
2020-01-16 15:11:55 +00:00
2019-11-15 12:58:43 +01:00
2020-01-03 15:42:13 +00:00
2020-01-16 15:11:55 +00:00
2020-03-20 09:47:16 +01:00
2020-02-25 15:43:56 +00:00
2019-12-17 10:04:43 +01:00
2020-03-19 11:25:33 +01:00
2020-04-21 09:22:14 -06:00
2020-03-09 15:46:42 +01:00
2020-01-09 18:05:17 +00:00
2019-12-09 10:17:27 +00:00
2020-02-20 23:13:15 -05:00
2020-02-24 01:52:22 +01:00
2019-11-12 16:15:59 +01:00
2020-02-04 14:00:45 +00:00
2020-03-24 14:33:29 +01:00
2020-05-13 18:30:45 +02:00
2020-04-07 15:26:10 +02:00
2019-12-09 10:17:27 +00:00
2019-10-15 16:14:19 +02:00
2020-02-06 13:41:03 +01:00
2019-11-12 16:15:59 +01:00
2020-02-24 23:15:49 +01:00
2019-12-20 14:23:39 +00:00
2020-04-14 18:49:41 +02:00
2019-11-12 16:15:59 +01:00
2020-02-25 12:05:01 +01:00
2020-04-09 15:45:05 -06:00
2019-12-09 10:17:27 +00:00
2020-01-03 15:42:12 +00:00
2020-05-20 09:41:58 +02:00
2020-04-23 12:38:01 +02:00
2019-11-19 15:22:43 +01:00
2020-04-23 10:59:33 +02:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-10-15 11:25:25 +02:00
2019-11-12 16:15:59 +01:00
2020-01-29 14:51:40 +00:00
2019-11-19 15:22:43 +01:00
2019-11-19 15:22:43 +01:00
2019-11-12 16:15:59 +01:00
2020-02-24 23:15:50 +01:00
2019-12-09 14:46:13 +00:00
2020-04-27 08:13:52 +02:00
2020-05-20 09:41:58 +02:00
2019-12-23 16:39:38 +00:00
2019-12-13 14:57:32 +01:00
2020-05-06 12:32:49 +02:00
2020-05-20 09:41:57 +02:00
2019-10-15 11:25:25 +02:00
2020-01-03 15:42:12 +00:00
2020-01-03 15:42:12 +00:00
2020-01-03 15:42:12 +00:00
2020-04-23 15:57:36 +02:00
2020-05-20 09:41:58 +02:00
2020-05-07 22:31:04 +02:00
2019-12-13 14:57:32 +01:00
2020-05-20 09:41:58 +02:00
2020-05-20 08:53:29 +02:00
2020-05-20 08:53:29 +02:00
2019-11-12 16:15:59 +01:00
2020-02-04 14:00:45 +00:00
2020-01-03 15:42:12 +00:00
2020-01-17 10:02:01 +00:00
2020-05-22 11:17:17 +02:00
2020-05-13 09:30:20 +02:00
2020-02-24 23:15:50 +01:00
2019-10-14 10:54:42 +01:00
2019-11-12 16:15:59 +01:00
2020-01-03 15:42:12 +00:00
2019-12-17 10:03:35 +01:00
2019-10-21 12:51:59 +02:00
2019-10-15 11:25:25 +02:00
2020-02-04 14:00:45 +00:00
2020-02-04 14:00:45 +00:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-10-07 11:34:24 +01:00
2020-05-07 13:39:52 +01:00
2020-02-11 16:30:18 +01:00
2019-10-15 16:14:19 +02:00
2019-12-09 10:15:16 +00:00
2019-12-09 10:15:16 +00:00
2020-05-20 09:41:58 +02:00
2020-05-20 09:41:58 +02:00
2020-05-20 09:41:58 +02:00
2020-05-20 09:41:58 +02:00
2020-02-25 12:05:00 +01:00
2019-12-09 10:15:16 +00:00
2019-10-15 16:14:19 +02:00
2020-02-24 23:15:50 +01:00
2019-10-21 12:51:59 +02:00
2020-01-29 14:51:40 +00:00
2020-03-20 09:47:16 +01:00
2020-02-03 19:44:38 +01:00
2020-01-16 15:11:55 +00:00
2020-01-27 14:55:03 +01:00
2020-02-04 14:00:45 +00:00
2020-01-03 15:42:12 +00:00
2019-11-12 16:15:59 +01:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-10-11 12:20:08 -04:00
2019-11-19 15:22:43 +01:00
2019-10-15 11:25:25 +02:00
2019-10-15 11:25:25 +02:00
2019-10-21 12:51:59 +02:00
2020-01-03 15:42:13 +00:00
2020-02-24 23:15:50 +01:00
2019-11-12 16:15:59 +01:00
2019-10-24 19:35:34 +02:00
2020-01-24 13:45:38 +01:00
2020-03-24 11:31:07 +01:00
2020-05-06 16:24:31 +02:00
2020-05-06 16:24:31 +02:00
2019-10-15 11:25:25 +02:00
2019-10-21 12:51:55 +02:00
2020-03-20 09:47:16 +01:00
2020-02-24 23:15:49 +01:00
2019-10-24 19:35:34 +02:00
2020-02-25 10:02:15 +00:00
2019-11-19 15:22:43 +01:00
2019-10-15 11:25:25 +02:00
2019-10-16 12:06:43 +02:00
2020-03-19 14:39:38 +01:00
2019-10-24 19:35:34 +02:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-19 15:22:43 +01:00
2020-01-29 14:51:40 +00:00
2019-10-15 11:25:25 +02:00
2020-03-19 14:39:38 +01:00
2020-02-24 23:15:49 +01:00
2020-02-24 23:15:49 +01:00
2020-02-24 23:15:50 +01:00
2020-01-29 14:51:40 +00:00
2020-02-25 15:43:56 +00:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2020-01-03 15:42:13 +00:00
2020-01-03 15:42:12 +00:00
2019-11-19 15:22:43 +01:00
2020-01-29 14:51:40 +00:00
2020-02-24 23:15:49 +01:00
2019-10-15 11:25:25 +02:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-10-15 16:14:19 +02:00
2019-12-10 12:41:56 +01:00
2020-02-24 23:15:50 +01:00
2020-03-06 17:02:10 +00:00
2020-03-06 17:02:10 +00:00
2019-12-03 13:57:44 +00:00
2020-02-11 16:30:18 +01:00
2020-05-12 06:55:00 +02:00
2019-10-16 12:06:43 +02:00
2020-02-07 15:03:54 +00:00
2020-04-07 15:26:19 +02:00
2019-11-21 08:27:03 +01:00
2020-01-29 14:51:40 +00:00
2020-01-29 14:51:40 +00:00
2019-10-15 16:14:19 +02:00
2020-01-29 14:51:40 +00:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2019-11-12 16:15:59 +01:00
2020-03-19 11:25:33 +01:00
2020-02-04 14:00:45 +00:00
2020-04-21 09:22:14 -06:00
2019-12-09 14:06:15 +01:00
2019-12-09 10:17:27 +00:00