output: Fix wrong return value 04/279104/1 accepted/tizen/unified/20220823.061610 submit/tizen/20220818.083245 submit/tizen/20220822.005318 submit/tizen/20220822.232422
authorSeunghun Lee <shiin.lee@samsung.com>
Tue, 2 Aug 2022 01:14:25 +0000 (10:14 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Tue, 2 Aug 2022 04:16:54 +0000 (13:16 +0900)
Change-Id: Idfdedc1f829b2403e78085e5fb99b7ee1b0565f4

src/output/output_led.c

index 455ea18..31d246f 100644 (file)
@@ -43,7 +43,7 @@ headless_output_create(struct wl_display *display)
        output = calloc(1, sizeof(led_output_t));
        if (!output) {
                HS_ERROR("Failed to allocate memory\n");
-               return false;
+               return NULL;
        }
 
        output->display = display;