diff --git a/libfprint/fpi-ssm.c b/libfprint/fpi-ssm.c index 0f54b1d..4498ce9 100644 --- a/libfprint/fpi-ssm.c +++ b/libfprint/fpi-ssm.c @@ -114,6 +114,7 @@ fpi_ssm_new (FpDevice *dev, FpiSsm *machine; BUG_ON (nr_states < 1); + BUG_ON (handler == NULL); machine = g_new0 (FpiSsm, 1); machine->handler = handler;