summaryrefslogtreecommitdiffstats
path: root/server/inputs-channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'server/inputs-channel.c')
-rw-r--r--server/inputs-channel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/inputs-channel.c b/server/inputs-channel.c
index e346829a..d0853a98 100644
--- a/server/inputs-channel.c
+++ b/server/inputs-channel.c
@@ -708,6 +708,7 @@ int inputs_channel_set_tablet(InputsChannel *inputs, SpiceTabletInstance *tablet
int inputs_channel_has_tablet(InputsChannel *inputs)
{
+ spice_return_val_if_fail(inputs != NULL, FALSE);
return !!inputs->tablet;
}