summaryrefslogtreecommitdiffstats
path: root/apps/filetypes.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-06-21 14:24:38 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-06-21 14:24:38 +0000
commitec7937b2f8ddd1219ee58a213a152bd59b01a265 (patch)
treea7a0c5682e9432e492e583894d115347d24dd1b6 /apps/filetypes.c
parentadc9cb1adc667997808b0abdbf8749fcbdbbf461 (diff)
downloadrockbox-ec7937b2f8ddd1219ee58a213a152bd59b01a265.tar.gz
rockbox-ec7937b2f8ddd1219ee58a213a152bd59b01a265.zip
close the viewers.config file fd
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27014 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetypes.c')
-rw-r--r--apps/filetypes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/filetypes.c b/apps/filetypes.c
index 11b9fa0c0f..4be2437a29 100644
--- a/apps/filetypes.c
+++ b/apps/filetypes.c
@@ -370,6 +370,7 @@ static void read_config(char* config_file)
filetypes[filetype_count].icon = Icon_Last_Themeable + atoi(s);
filetype_count++;
}
+ close(fd);
}
int filetype_get_attr(const char* file)