[vlc-commits] v4l2/vbi: descriptor leak

Rémi Denis-Courmont git at videolan.org
Tue Apr 22 23:07:18 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 23 00:07:00 2014 +0300| [5c6c8da612547ed5c47be5a825e48e850eb0b4ea] | committer: Rémi Denis-Courmont

v4l2/vbi: descriptor leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5c6c8da612547ed5c47be5a825e48e850eb0b4ea
---

 modules/access/v4l2/vbi.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/access/v4l2/vbi.c b/modules/access/v4l2/vbi.c
index 8435709..9f25d4e 100644
--- a/modules/access/v4l2/vbi.c
+++ b/modules/access/v4l2/vbi.c
@@ -72,6 +72,7 @@ vlc_v4l2_vbi_t *OpenVBI (demux_t *demux, const char *psz_device)
     {
         msg_Err (demux, "cannot capture VBI data: %s", errstr);
         free (errstr);
+        close (rawfd);
         goto err;
     }
 



More information about the vlc-commits mailing list