Peter Krempa
f0430d069a
util: storage: Don't leak metadata on repeated calls of virStorageFileGetMetadata
...
When querying storage metadata after a block job we re-run
virStorageFileGetMetadata on the top level storage file. This means that
the workers (virStorageFileGetMetadataInternal) must not overwrite any
pointers without freeing them.
This was not considered for src->compat and src->features. Fix it and
add a comment mentioning that.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2019-07-18 17:54:22 +02:00
..
2019-07-09 10:27:20 +02:00
2019-06-19 17:12:31 +02:00
2019-06-19 17:12:31 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:31 +02:00
2019-06-19 17:12:33 +02:00
2019-04-10 09:12:04 +02:00
2019-06-19 17:12:33 +02:00
2019-04-10 09:12:04 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-04 09:29:35 +02:00
2019-06-19 17:12:33 +02:00
2019-05-06 09:33:10 +02:00
2019-06-19 17:12:33 +02:00
2019-06-28 15:17:37 +02:00
2019-06-19 17:12:32 +02:00
2019-04-11 12:47:23 -04:00
2019-06-28 15:17:37 +02:00
2019-06-21 14:35:57 +02:00
2019-06-28 15:17:26 +02:00
2019-06-19 17:12:32 +02:00
2019-06-28 15:17:37 +02:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:33 +02:00
2019-07-18 15:55:16 +02:00
2019-07-12 16:55:40 +01:00
2019-06-19 17:12:32 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-04-15 12:47:44 -04:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:33 +02:00
2019-04-12 15:56:28 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:33 +02:00
2019-06-27 14:47:10 +01:00
2019-06-20 17:10:24 +02:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-07-03 08:36:03 +02:00
2019-07-03 08:36:03 +02:00
2019-06-19 17:12:33 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:32 +02:00
2019-04-15 12:47:44 -04:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:33 +02:00
2019-04-25 13:28:16 +02:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:32 +02:00
2019-06-17 15:19:54 +01:00
2019-06-19 17:12:33 +02:00
2019-06-03 18:07:16 +02:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:32 +02:00
2019-06-20 10:29:54 +02:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-04-10 16:34:57 +02:00
2019-06-19 17:12:33 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:32 +02:00
2019-04-10 09:12:04 +02:00
2019-06-19 17:12:32 +02:00
2019-06-19 17:12:32 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-04-10 12:26:32 +02:00
2019-06-19 17:12:31 +02:00
2019-06-19 17:12:31 +02:00
2019-04-30 09:44:21 +02:00
2019-06-19 17:12:31 +02:00
2019-04-10 12:26:32 +02:00
2019-06-19 17:12:31 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:31 +02:00
2019-06-19 17:12:31 +02:00
2019-07-16 13:42:39 +02:00
2019-07-16 13:42:39 +02:00
2019-04-16 14:44:53 +01:00
2019-06-19 17:12:31 +02:00
2019-06-19 17:12:31 +02:00
2019-04-10 09:12:04 +02:00
2019-06-19 17:12:31 +02:00
2019-04-17 14:12:56 +01:00
2019-06-19 17:12:31 +02:00
2019-04-10 09:12:04 +02:00
2019-06-19 17:12:33 +02:00
2019-06-17 15:02:24 +01:00
2019-06-19 17:12:33 +02:00
2019-06-04 10:13:07 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:32 +02:00
2019-06-24 18:06:59 +02:00
2019-06-19 17:12:33 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:33 +02:00
2019-04-10 12:26:32 +02:00
2019-06-19 17:12:33 +02:00
2019-05-17 16:01:11 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:32 +02:00
2019-07-09 18:44:19 +01:00
2019-07-03 08:36:03 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-05-13 14:38:58 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-04-10 09:12:04 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-04-10 09:12:04 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:33 +02:00
2019-07-11 14:13:03 +01:00
2019-07-11 14:13:03 +01:00
2019-06-19 17:12:31 +02:00
2019-07-18 17:54:22 +02:00
2019-06-19 17:12:31 +02:00
2019-06-19 17:12:31 +02:00
2019-06-19 17:12:32 +02:00
2019-06-03 17:59:38 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-07-12 16:55:40 +01:00
2019-07-12 16:55:39 +01:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:31 +02:00
2019-06-19 17:12:31 +02:00
2019-06-19 17:12:31 +02:00
2019-07-18 11:31:19 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-04-11 12:47:23 -04:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-04-10 09:12:04 +02:00
2019-06-19 17:12:33 +02:00
2019-07-12 16:55:40 +01:00
2019-07-12 16:55:40 +01:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00
2019-06-19 17:12:33 +02:00