From d7c5e26d31fea089646b0b12e5c58ea92aec5b26 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 18 Apr 2003 14:16:32 +0200 Subject: [PATCH] Closing CA file handle in case no LL firmware is present --- ci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci.c b/ci.c index a7fe71a6..6cbb0756 100644 --- a/ci.c +++ b/ci.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: ci.c 1.11 2003/04/18 13:48:47 kls Exp $ + * $Id: ci.c 1.12 2003/04/18 14:16:32 kls Exp $ */ /* XXX TODO @@ -1320,6 +1320,7 @@ cCiHandler *cCiHandler::CreateCiHandler(const char *FileName) } else LOG_ERROR_STR(FileName); + close(fd_ca); } return NULL; }