output: Fix wrong return value dev/shiin
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 01:14:25 +0000 (10:14 +0900)
Change-Id: Idfdedc1f829b2403e78085e5fb99b7ee1b0565f4

src/output/output_led.c

index 455ea18db15a91f23b70719f93fca21d1c1593ec..31d246fec3ca9382a5b93e7a4bc4bb2554533dbf 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;