mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 21:50:11 +01:00
device: fix crash in nm_device_generate_connection()
Fixes: 89d1c9fb30
https://bugzilla.redhat.com/show_bug.cgi?id=1631741
This commit is contained in:
parent
7729555a59
commit
f744e29dd3
1 changed files with 1 additions and 1 deletions
|
|
@ -5525,7 +5525,7 @@ nm_device_generate_connection (NMDevice *self,
|
|||
|
||||
klass->update_connection (self, connection);
|
||||
|
||||
if (!nm_connection_normalize (connection, NULL, NULL, error)) {
|
||||
if (!nm_connection_normalize (connection, NULL, NULL, &local)) {
|
||||
g_set_error (error, NM_DEVICE_ERROR, NM_DEVICE_ERROR_FAILED,
|
||||
"generated connection does not verify: %s",
|
||||
local->message);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue