mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +02:00
Properly initialize GError
Pointed out by Florian Müllner in bug #621702
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user