Erik Skultety 2739a983f2 util: mdev: Use a local variable instead of a direct pointer access
Use a local variable to hold data, rather than accessing the pointer
after calling virMediatedDeviceListAdd (therefore VIR_APPEND_ELEMENT).
Although not causing an issue at the moment, this change is a necessary
prerequisite for tweaking virMediatedDeviceListAdd in a separate patch,
which will take a reference for the source pointer (instead of pointer
value) and will clear it along the way.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Laine Stump <laine@laine.org>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
2017-05-04 07:54:42 +02:00
..
2017-04-28 14:17:10 +02:00
2016-06-16 06:17:58 -04:00
2017-05-02 17:27:13 +01:00
2016-11-23 12:08:15 -05:00
2016-02-11 11:35:02 +01:00
2016-06-16 13:09:19 -04:00
2017-01-25 09:18:49 +01:00
2017-01-04 12:47:01 +01:00
2016-04-20 12:46:48 +02:00
2016-08-02 14:20:31 +02:00
2016-08-02 14:20:31 +02:00
2017-04-27 14:13:19 +02:00
2017-04-27 14:13:19 +02:00
2016-10-13 17:58:56 +08:00
2016-03-18 09:43:45 +01:00
2016-07-28 08:27:13 -04:00
2016-12-06 13:33:18 +01:00
2017-03-27 15:39:35 +02:00
2017-03-22 09:01:32 +01:00
2017-04-13 08:14:54 -04:00
2016-02-05 16:11:50 +01:00
2016-11-23 12:08:15 -05:00
2016-12-15 09:25:16 +01:00
2016-12-15 09:25:16 +01:00
2017-03-15 21:17:47 -04:00
2016-12-06 13:33:18 +01:00