summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2018-07-11 14:43:22 +0200
committerThomas Haller <thaller@redhat.com>2018-07-11 15:39:41 +0200
commitfe0b66ad82d82ebb5df9d1270332d21b47cf00a8 (patch)
tree1144489156bba50f23b1a32e900176412584aad7
parent752042d50699ae84157c2066a549426a336eb1df (diff)
downloadNetworkManager-fe0b66ad82d82ebb5df9d1270332d21b47cf00a8.tar.gz
fixup! device: configure SR-IOV
-rw-r--r--src/devices/nm-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 226f66c208..3aad71e6af 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -5945,7 +5945,7 @@ act_stage1_prepare (NMDevice *self, NMDeviceStateReason *out_failure_reason)
if ( priv->ifindex > 0
&& nm_device_has_capability (self, NM_DEVICE_CAP_SRIOV)
&& (s_sriov = (NMSettingSriov *) nm_device_get_applied_setting (self, NM_TYPE_SETTING_SRIOV))) {
- gs_strfreev NMPlatformVF **plat_vfs = NULL;
+ nm_auto_freev NMPlatformVF **plat_vfs = NULL;
gs_free_error GError *error = NULL;
gs_free const char *str = NULL;
NMSriovVF *vf;