d4c1522a3e
This commit is mostly similar to c9b963bc22
as
we revert to the previous release.
22 lines
941 B
Diff
22 lines
941 B
Diff
diff -up NetworkManager-0.9.9.0/src/bluez-manager/nm-bluez-device.c.bluez-crash NetworkManager-0.9.9.0/src/bluez-manager/nm-bluez-device.c
|
|
--- NetworkManager-0.9.9.0/src/bluez-manager/nm-bluez-device.c.bluez-crash 2013-10-03 15:00:51.000000000 -0400
|
|
+++ NetworkManager-0.9.9.0/src/bluez-manager/nm-bluez-device.c 2014-01-06 12:09:14.449583005 -0500
|
|
@@ -686,7 +686,7 @@ static void
|
|
on_adapter_acquired (GObject *object, GAsyncResult *res, NMBluezDevice *self)
|
|
{
|
|
NMBluezDevicePrivate *priv = NM_BLUEZ_DEVICE_GET_PRIVATE (self);
|
|
- GError *error;
|
|
+ GError *error = NULL;
|
|
GVariant *v;
|
|
|
|
priv->adapter = g_dbus_proxy_new_for_bus_finish (res, &error);
|
|
@@ -923,7 +923,7 @@ static void
|
|
on_proxy_acquired (GObject *object, GAsyncResult *res, NMBluezDevice *self)
|
|
{
|
|
NMBluezDevicePrivate *priv = NM_BLUEZ_DEVICE_GET_PRIVATE (self);
|
|
- GError *error;
|
|
+ GError *error = NULL;
|
|
|
|
priv->proxy5 = g_dbus_proxy_new_for_bus_finish (res, &error);
|
|
|