1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00
Julio Faracco 8e09f9afc7 tests: libxl: Fix a segfault when libxl configuration setup fails
This commit fixes a segmentation fault caused by missing conditional to
check if libxl configuration was properly created by the test. If the
configuration was not properly created, libxlDriverConfigNew() function
will return NULL and cause a segfault at cfg->caps = NULL during the
cleanup.

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
2018-08-02 10:35:35 +02:00
..
2017-11-20 13:22:48 +01:00
2018-01-11 14:23:09 +01:00
2018-07-18 17:54:18 +02:00
2017-04-27 14:13:19 +02:00
2017-04-11 13:23:01 +02:00
2018-07-18 17:54:18 +02:00
2017-11-03 13:24:12 +01:00
2018-07-18 17:54:18 +02:00
2018-04-10 15:16:23 +02:00
2018-03-12 20:04:08 +04:00
2017-11-03 13:24:12 +01:00
2017-11-22 11:27:40 +01:00
2017-07-26 15:33:45 +02:00
2017-04-27 14:13:19 +02:00
2017-11-24 11:47:26 -05:00
2017-11-03 13:24:12 +01:00
2018-07-18 17:54:18 +02:00
2018-01-25 17:16:08 +01:00
2018-07-18 17:54:18 +02:00
2018-07-27 15:47:45 +02:00
2018-07-27 15:44:42 +02:00
2017-10-05 09:09:50 +02:00