From ccb815c82c3bcd6851ad7320123fa62ddea6097e Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Mon, 5 Sep 2022 11:09:40 +0900 Subject: [PATCH] input: Fix wrong return value Change-Id: I92039fef769e4484cb826b2b345e4453711ce1da --- src/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/input.c b/src/input/input.c index 43f3652..7b95a74 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -261,7 +261,7 @@ create_keyboard(headless_input_t *input, struct ds_input_device *dev) keyboard = calloc(1, sizeof *keyboard); if (!keyboard) { ds_err("Could not allocate memory"); - return false; + return NULL; } keyboard->input = input; -- 2.7.4