From 73e0311d149e8fc64b6ca6d6ac79e5dee219c18c Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Wed, 24 Nov 2021 21:46:02 +0100 Subject: [PATCH] Add missing return on file_handler failure Mistake introduced by 84334cf7db68732eb92caf6cf9682c7ef2c426f6. --- app/src/file_handler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/file_handler.c b/app/src/file_handler.c index eead2117..a758f575 100644 --- a/app/src/file_handler.c +++ b/app/src/file_handler.c @@ -37,6 +37,7 @@ file_handler_init(struct file_handler *file_handler, const char *serial, LOGE("Could not create intr"); sc_cond_destroy(&file_handler->event_cond); sc_mutex_destroy(&file_handler->mutex); + return false; } file_handler->serial = strdup(serial);