From 823fab91f77ad00b32ea286b46b4c0fad2fde831 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/bc4a9b3329b4655ce23024033714e891491bc5e0 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 {