summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2009-04-05 00:05:55 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2009-04-05 00:05:55 +0100
commit094656d55e8cf2b685fadea1aeffee4fb59f4449 (patch)
tree28edb7fcb05a95b0841774f8701d1a0510437d02 /src
parentcb365e0071d2e540eb706f2bdce6f351c206efa5 (diff)
downloadxine-lib-094656d55e8cf2b685fadea1aeffee4fb59f4449.tar.gz
xine-lib-094656d55e8cf2b685fadea1aeffee4fb59f4449.tar.bz2
Fix a resource leak in libdvdnav.
Diffstat (limited to 'src')
-rw-r--r--src/input/libdvdnav/remap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/libdvdnav/remap.c b/src/input/libdvdnav/remap.c
index 43c81c66f..df0be29ce 100644
--- a/src/input/libdvdnav/remap.c
+++ b/src/input/libdvdnav/remap.c
@@ -216,6 +216,7 @@ remap_t* remap_loadmap( char *title) {
remap_add_node( map, tmp);
}
}
+ close (fp); /* ignoring errors... */
if (map->nblocks == 0 && map->debug == 0) return NULL;
return map;