diff mbox series

swupdate-progress: fix coverity #292126

Message ID 20200416201622.32387-4-sbabic@denx.de
State Accepted
Headers show
Series swupdate-progress: fix coverity #292126 | expand

Commit Message

Stefano Babic April 16, 2020, 8:16 p.m. UTC
Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 tools/swupdate-progress.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/tools/swupdate-progress.c b/tools/swupdate-progress.c
index 7c6b54c..2ba5a3d 100644
--- a/tools/swupdate-progress.c
+++ b/tools/swupdate-progress.c
@@ -105,6 +105,8 @@  static int psplash_init(char *pipe)
 		}
 	}
 
+	close(psplash_pipe_fd);
+
 	return 1;
 }