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 /src/input/libdvdnav | |
| parent | cb365e0071d2e540eb706f2bdce6f351c206efa5 (diff) | |
| download | xine-lib-094656d55e8cf2b685fadea1aeffee4fb59f4449.tar.gz xine-lib-094656d55e8cf2b685fadea1aeffee4fb59f4449.tar.bz2 | |
Fix a resource leak in libdvdnav.
Diffstat (limited to 'src/input/libdvdnav')
| -rw-r--r-- | src/input/libdvdnav/remap.c | 1 |
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; |
