diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-02-19 12:56:41 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-02-19 13:10:34 +0100 |
commit | f11bb26296c04f94e02b281f402d4365cb469f0c (patch) | |
tree | 75f80fdd4bf270c2abcf8fd6972b75276ffca189 | |
parent | bd05e0a98b5bf742cad1833748e3e2fa8536657e (diff) | |
download | gnome-bluetooth-f11bb26296c04f94e02b281f402d4365cb469f0c.tar.gz |
lib: Add guard to bluetooth_client_setup_device()
-rw-r--r-- | 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 cb5425c9..a4365535 100644 --- a/lib/bluetooth-client.c +++ b/lib/bluetooth-client.c @@ -1383,6 +1383,7 @@ bluetooth_client_setup_device (BluetoothClient *client, gboolean paired; g_return_if_fail (BLUETOOTH_IS_CLIENT (client)); + g_return_if_fail (path != NULL); task = g_task_new (G_OBJECT (client), cancellable, |