summaryrefslogtreecommitdiff
path: root/src/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon')
-rw-r--r--src/daemon/dlt_daemon_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon/dlt_daemon_common.c b/src/daemon/dlt_daemon_common.c
index 2f0e73a..28e9d54 100644
--- a/src/daemon/dlt_daemon_common.c
+++ b/src/daemon/dlt_daemon_common.c
@@ -496,6 +496,7 @@ int dlt_daemon_applications_load(DltDaemon *daemon,const char *filename, int ver
{
snprintf(str,DLT_DAEMON_COMMON_TEXTBUFSIZE, "dlt_daemon_applications_load fgets(buf,sizeof(buf),fd) returned NULL");
dlt_log(LOG_ERR, str);
+ fclose(fd);
return -1;//seems to be appropriate, but not sure. !feof is already a precondition, so another problem should the reason!
}