mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
fix possible Resource leak
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@249 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -99,6 +99,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);
|
||||
}
|
||||
for (i=0; i<y; i++) {
|
||||
|
Reference in New Issue
Block a user