John Ferlan
5c0dad7b39
qemu_driver: Resolve Coverity FORWARD_NULL
...
In qemuDomainSnapshotCreateDiskActive() if we jumped to cleanup from a
failed actions = virJSONValueNewArray(), then 'cfg' would be NULL.
So just return -1, which in turn removes the need for cleanup:
2014-08-28 19:18:52 -04:00
..
2014-05-20 13:13:29 +02:00
2011-07-27 08:45:09 -06:00
2014-08-28 08:12:16 -04:00
2014-05-15 16:44:45 +02:00
2014-08-28 16:27:53 -04:00
2014-08-28 16:27:53 -04:00
2014-07-28 10:07:09 +02:00
2014-07-16 20:15:46 +02:00
2014-08-28 16:27:54 -04:00
2014-08-21 07:06:35 -04:00
2014-08-22 15:03:39 +02:00
2014-08-20 09:28:05 +02:00
2014-08-14 12:12:42 +02:00
2014-08-14 12:12:42 +02:00
2014-08-28 19:18:52 -04:00
2014-03-10 14:26:04 +01:00
2014-04-28 17:52:45 -06:00
2014-03-12 16:20:01 +00:00
2014-08-20 09:42:24 +02:00
2014-08-20 09:28:04 +02:00
2013-08-26 16:09:55 +02:00
2014-08-14 12:12:42 +02:00
2014-06-24 12:56:54 -06:00
2014-08-20 14:50:21 +02:00
2014-08-20 14:20:05 +02:00
2014-07-03 10:48:14 +02:00
2014-06-02 15:32:58 -06:00
2014-08-28 08:12:17 -04:00
2014-08-20 14:20:05 +02:00
2014-08-22 16:33:18 +02:00
2014-08-14 12:12:42 +02:00
2013-08-26 16:09:55 +02:00
2014-08-04 07:53:55 +02:00
2014-05-20 13:13:29 +02:00
2013-02-13 11:10:30 +00:00