This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: dvbv5-zap: Close open file descriptor in error path
Author:  Gregor Jasny <[email protected]>
Date:    Wed Apr 23 09:48:20 2014 +0200

Dectected by Coverity.

Signed-off-by: Gregor Jasny <[email protected]>
CC: Mauro Carvalho Chehab <[email protected]>

 utils/dvb/dvbv5-zap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=633aff38d1cc8b2e2012e06379cce9f0d3f6b134

diff --git a/utils/dvb/dvbv5-zap.c b/utils/dvb/dvbv5-zap.c
index e32d028..d7f9c5f 100644
--- a/utils/dvb/dvbv5-zap.c
+++ b/utils/dvb/dvbv5-zap.c
@@ -558,6 +558,7 @@ int do_traffic_monitor(struct arguments *args,
 
        if ((fd = open(args->demux_dev, O_RDWR)) < 0) {
                PERROR("failed opening '%s'", args->demux_dev);
+               close(dvr_fd);
                return -1;
        }
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to