mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 07:00:05 +01:00
examples: fix crash in add-connection-libnm
Reported-by: Ali Nematollahi <alirezan1@gmail.com>
This commit is contained in:
parent
2b0e5cd6e6
commit
76348adb8e
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ added_cb (GObject *client,
|
||||||
{
|
{
|
||||||
GMainLoop *loop = user_data;
|
GMainLoop *loop = user_data;
|
||||||
NMRemoteConnection *remote;
|
NMRemoteConnection *remote;
|
||||||
GError *error;
|
GError *error = NULL;
|
||||||
|
|
||||||
/* NM responded to our request; either handle the resulting error or
|
/* NM responded to our request; either handle the resulting error or
|
||||||
* print out the object path of the connection we just added.
|
* print out the object path of the connection we just added.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue