mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +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:
@@ -1187,6 +1187,7 @@ bool CFrameBuffer::loadPictureToMem(const std::string & filename, const uint16_t
|
||||
(height != ((header.height_hi << 8) | header.height_lo)))
|
||||
{
|
||||
printf("error while loading icon: %s - invalid resolution = %hux%hu\n", filename.c_str(), width, height);
|
||||
close(lfd);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user