close file descriptor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30962 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8317226ff8
commit
7c6acd4783
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ static void load_icons(const char* filename, enum Iconset iconset,
|
|||
|
||||
ic->handle_locked = 1;
|
||||
size_read = read_bmp_fd(fd, &ic->bmp, buf_size, bmpformat, NULL);
|
||||
close(fd);
|
||||
ic->handle_locked = 0;
|
||||
|
||||
/* free unused alpha channel, if any */
|
||||
|
|
Loading…
Reference in a new issue