mirror of https://github.com/BOINC/boinc.git
- API: file descriptor leak in obscure case.
fixes #103 svn path=/trunk/boinc/; revision=17391
This commit is contained in:
parent
d37d487247
commit
019ab4cdfc
|
@ -338,8 +338,8 @@ unsigned * read_tga_texture(char *name, int *width, int *height, int*) {
|
|||
// make sure we are loading a supported type
|
||||
if (imageBits != 32 && imageBits != 24 && imageBits != 8) return NULL;
|
||||
base = (unsigned int *)getData (s, size, imageBits);
|
||||
return (unsigned *) base;
|
||||
fclose(s);
|
||||
return (unsigned *) base;
|
||||
}
|
||||
|
||||
unsigned * read_rgb_texture(const char *name, int *width, int *height, int *components) {
|
||||
|
|
|
@ -2213,3 +2213,10 @@ David 25 Feb 2009
|
|||
client/
|
||||
gui_rpc_server.cpp
|
||||
cs_prefs.cpp
|
||||
|
||||
David 25 Feb 2009
|
||||
- API: file descriptor leak in obscure case.
|
||||
fixes #103
|
||||
|
||||
api/
|
||||
texture.cpp
|
||||
|
|
Loading…
Reference in New Issue