mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
Properly initialize GError
Pointed out by Florian Müllner in bug #621702
This commit is contained in:
parent
1b8ee5196e
commit
48e3b31042
@ -1392,6 +1392,7 @@ get_connection_cb (GObject *source_object,
|
||||
GetConnectionData *data = user_data;
|
||||
GError *error;
|
||||
|
||||
error = NULL;
|
||||
data->proxy->priv->connection = g_bus_get_finish (res, &error);
|
||||
if (data->proxy->priv->connection == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user