diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-04-05 00:05:55 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2009-04-05 00:05:55 +0100 |
commit | 094656d55e8cf2b685fadea1aeffee4fb59f4449 (patch) | |
tree | 28edb7fcb05a95b0841774f8701d1a0510437d02 | |
parent | cb365e0071d2e540eb706f2bdce6f351c206efa5 (diff) | |
download | xine-lib-094656d55e8cf2b685fadea1aeffee4fb59f4449.tar.gz xine-lib-094656d55e8cf2b685fadea1aeffee4fb59f4449.tar.bz2 |
Fix a resource leak in libdvdnav.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/input/libdvdnav/remap.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -2,6 +2,7 @@ xine-lib (1.1.17) 2009-??-?? * Add support for Matroska SIMPLEBLOCK. * Add support for sndio (OpenBSD sound API). * Correct invalid MIME info in the MOD demuxer. + * Fix a resource leak in libdvdnav. xine-lib (1.1.16.3) 2009-04-03 * Security fixes: 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; |