[gnome-bluetooth] lib: Fix potential crash on device removal
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] lib: Fix potential crash on device removal
- Date: Wed, 22 Nov 2017 17:57:10 +0000 (UTC)
commit 848d8bcde50fc4b5d4a495a9424f75aafc551bcd
Author: Benjamin Berg <bberg redhat com>
Date: Wed Nov 22 15:04:24 2017 +0100
lib: Fix potential crash on device removal
Patch 17983ace (lib: Use GDBusObjectManager) ported the interface
addition and removal to GDBusObjectManager. However the parameter list
of interface_remove was not updated correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=790714
lib/bluetooth-client.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 65f2950..c3eec76 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -767,6 +767,7 @@ interface_added (GDBusObjectManager *manager,
static void
interface_removed (GDBusObjectManager *manager,
GDBusObject *object,
+ GDBusInterface *interface,
gpointer user_data)
{
BluetoothClient *client = user_data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]