fix close & osd

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@846 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 386afa1245
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-10-19 (Tue, 19 Oct 2010)



------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2010-10-19 10:02:44 +00:00
parent 6d9572ad8d
commit 0550db6712
3 changed files with 5 additions and 0 deletions

View File

@@ -151,6 +151,7 @@ int fh_bmp_load(const char *name,unsigned char **buffer,int* xp,int* yp)
if(tbuffer==NULL)
{
printf("Error: malloc\n");
close(fd);
return (FH_ERROR_MALLOC);
}
unsigned char c1,c2;