From 00fcdfce9b0cf89dbc2fe7d4e32a5b7eaba66795 Mon Sep 17 00:00:00 2001 From: TangoCash Date: Sat, 11 Nov 2017 14:41:54 +0100 Subject: [PATCH] fix missing close fd (thx dbo) Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/7efcadabd724cfee3a84a02be71d9c225ccd9c62 Author: TangoCash Date: 2017-11-11 (Sat, 11 Nov 2017) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- common/ca_ci.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common/ca_ci.cpp b/common/ca_ci.cpp index 4698637..d50ced0 100644 --- a/common/ca_ci.cpp +++ b/common/ca_ci.cpp @@ -1038,6 +1038,7 @@ void cCA::setInputs() { printf("set input%d to tuner %s\n", number, getTunerLetter(number).c_str()); fprintf(fd,"%s", getTunerLetter(number).c_str()); + fclose(fd); } else {