input: Fix wrong return value 65/280765/3 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062328 accepted/tizen/7.0/unified/hotfix/20221116.110044 accepted/tizen/unified/20220908.013415 submit/tizen/20220906.003456 tizen_7.0_m2_release
authorSeunghun Lee <shiin.lee@samsung.com>
Mon, 5 Sep 2022 02:09:40 +0000 (11:09 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Tue, 6 Sep 2022 00:33:05 +0000 (00:33 +0000)
Change-Id: I92039fef769e4484cb826b2b345e4453711ce1da

src/input/input.c

index 43f3652..7b95a74 100644 (file)
@@ -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;